projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f7e6c2
)
Do not try to chown_R the gid of .ssh, because we're making an
author
Ward Vandewege <ward@curoverse.com>
Wed, 12 Oct 2016 15:50:37 +0000
(11:50 -0400)
committer
Ward Vandewege <ward@curoverse.com>
Wed, 12 Oct 2016 15:50:37 +0000
(11:50 -0400)
assumption about the existance of a group with the same name as the
user, and it's irrelevant anyway because the permissions on .ssh are
0700.
No issue #
services/login-sync/bin/arvados-login-sync
patch
|
blob
|
history
diff --git
a/services/login-sync/bin/arvados-login-sync
b/services/login-sync/bin/arvados-login-sync
index e1b8c484f0413cb8ff6bfe3ac0be77aebbcd2aa7..b25ed942fb350751d5d476889ca164897feca160 100755
(executable)
--- a/
services/login-sync/bin/arvados-login-sync
+++ b/
services/login-sync/bin/arvados-login-sync
@@
-97,7
+97,7
@@
begin
f.write(@key)
f.close()
end
- FileUtils.chown_R(l[:username],
l[:username]
, userdotssh)
+ FileUtils.chown_R(l[:username],
nil
, userdotssh)
File.chmod(0700, userdotssh)
File.chmod(0750, @homedir)
File.chmod(0600, userauthkeys)