Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
045b5b30
authored
Feb 10, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laborclient: mkfolder proper permissions
parent
5be84216
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
miscellaneous/laborclient/cloudgui/gui.py
+2
-2
miscellaneous/laborclient/cloudgui/rdp.py
+2
-0
No files found.
miscellaneous/laborclient/cloudgui/gui.py
View file @
045b5b30
...
...
@@ -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
:
p
ass
p
rint
"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
):
...
...
miscellaneous/laborclient/cloudgui/rdp.py
View file @
045b5b30
...
...
@@ -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()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment