mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-21 18:03:54 +03:00
fixes for x2go & uds actor on python3
This commit is contained in:
parent
45aa2e92ac
commit
e7fb7064e3
@ -2,7 +2,7 @@ udsactor (3.0.0) stable; urgency=medium
|
||||
|
||||
* Upgraded to 3.0.0 release
|
||||
|
||||
-- Adolfo Gómez García <agomez@virtualcable.es> Wed, 10 Jlu 2019 9:24:10 +0200
|
||||
-- Adolfo Gómez García <agomez@virtualcable.es> Wed, 10 Jul 2019 9:24:10 +0200
|
||||
|
||||
udsactor (2.2.1) stable; urgency=medium
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
udsclient (3.0.0) stable; urgency=medium
|
||||
|
||||
* Upgraded to 3.0.0 release
|
||||
|
||||
-- Adolfo Gómez García <agomez@virtualcable.es> Wed, 10 Jul 2019 9:24:10 +0200
|
||||
|
||||
udsclient (2.2.1) stable; urgency=medium
|
||||
|
||||
* Upgraded to 2.2.1 release
|
||||
|
@ -1,2 +1,2 @@
|
||||
udsclient_2.2.1_all.deb admin optional
|
||||
udsclient_2.2.1_amd64.buildinfo admin optional
|
||||
udsclient_3.0.0_all.deb admin optional
|
||||
udsclient_3.0.0_amd64.buildinfo admin optional
|
||||
|
@ -32,7 +32,7 @@ def updateAuthorizedKeys(user, pubKey):
|
||||
sshFolder = '{}/.ssh'.format(home)
|
||||
if not os.path.exists(sshFolder):
|
||||
try:
|
||||
os.makedirs(sshFolder, 0o0700)
|
||||
os.makedirs(sshFolder, 0o700)
|
||||
os.chown(sshFolder, uid, -1)
|
||||
except OSError as e:
|
||||
if e.errno != errno.EEXIST:
|
||||
@ -56,7 +56,7 @@ def updateAuthorizedKeys(user, pubKey):
|
||||
|
||||
# Ensure access is correct
|
||||
os.chown(authorizedKeys, uid, -1)
|
||||
os.chmod(authorizedKeys, 0o0600)
|
||||
os.chmod(authorizedKeys, 0o600)
|
||||
|
||||
# Done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user