GNU bug report logs - #56444
Gitolite home directory permissions

Previous Next

Package: guix;

Reported by: Evgeny Pisemsky <evgeny <at> pisemsky.com>

Date: Thu, 7 Jul 2022 21:36:01 UTC

Severity: normal

Done: "Thompson, David" <dthompson2 <at> worcester.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Evgeny Pisemsky <evgeny <at> pisemsky.com>
To: 56444 <at> debbugs.gnu.org
Subject: bug#56444: Acknowledgement (Gitolite home directory permissions)
Date: Fri, 08 Jul 2022 11:10:42 +0300
After some digging I came up to the procedure `activate-users+groups' in
the file `gnu/build/activation.scm' and found the following lines:

┌────
│ ;; Always set ownership and permissions for home directories of system
│ ;; accounts.  If a service needs looser permissions on its home
│ ;; directories, it can always chmod it in an activation snippet.
│ (chown home (passwd:uid pwd) (passwd:gid pwd))
│ (chmod home #o700)))
└────

So it looks like the case for gitolite activation procedure - it should
chmod the home directory with respect to the umask value.




This bug report was last modified 2 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.