[ARVADOS] updated: b1b6efe84c40e5672a33f9a08cb7e1e4979460b5

Git user git at public.curoverse.com
Wed Oct 12 11:51:44 EDT 2016


Summary of changes:
 services/login-sync/bin/arvados-login-sync | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  b1b6efe84c40e5672a33f9a08cb7e1e4979460b5 (commit)
      from  9f7e6c2782c1929de61ecd61e457700730ef9681 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b1b6efe84c40e5672a33f9a08cb7e1e4979460b5
Author: Ward Vandewege <ward at curoverse.com>
Date:   Wed Oct 12 11:50:37 2016 -0400

    Do not try to chown_R the gid of .ssh, because we're making an
    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 #

diff --git a/services/login-sync/bin/arvados-login-sync b/services/login-sync/bin/arvados-login-sync
index e1b8c48..b25ed94 100755
--- 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)

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list