Commit 045b5b30 by tarokkk

laborclient: mkfolder proper permissions

parent 5be84216
......@@ -151,9 +151,9 @@ class Browser:
neptun = self.params["neptun"]
host = self.params["host"]
try:
os.makedirs(self.folder, 0644)
os.makedirs(self.folder)
except:
pass
print "Error"
result = subprocess.call(['/usr/bin/sshfs', '-o', 'IdentityFile='+self.private_key_file+',StrictHostKeyChecking=no', neptun+"@"+host+":home", self.folder])
#print result
def umount_sshfs_folder(self):
......
......@@ -5,9 +5,11 @@ import subprocess
import os
import sys
import gtk
import gobject
class RDP:
def __init__(self, uri):
gobject.threads_init()
self.scheme, self.username, self.password, self.host, self.port = uri.split(':',4)
def dialog_box(self,text):
# Window = gtk.Window()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment