projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4112f2
)
Change ssh public key to 700 after key-sync
author
LunarShaddow <aflyhorse@gmail.com>
Mon, 28 Sep 2015 02:48:03 +0000
(10:48 +0800)
committer
LunarShaddow <aflyhorse@gmail.com>
Mon, 28 Sep 2015 02:48:03 +0000
(10:48 +0800)
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 fc11e2776b93c62d4a6580e24a5b92e027f963e0..c92fc9b00dd0cc723e4fd64bd2b001daa8bce60c 100755
(executable)
--- a/
services/login-sync/bin/arvados-login-sync
+++ b/
services/login-sync/bin/arvados-login-sync
@@
-100,6
+100,7
@@
begin
FileUtils.chown_R(l[:username], l[:username], userdotssh)
File.chmod(0700, userdotssh)
File.chmod(0750, @homedir)
+ File.chmod(0600, userauthkeys)
end
devnull.close