diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-03-08 23:30:53 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-03-08 23:30:53 +0100 |
commit | 112024826d3283284654475a50ccef81c697e2c9 (patch) | |
tree | f5b3c1c0fc7db5681b8a63b292324a9a21d57eb2 | |
parent | 5284339d9d31c97146d92ee3f860ba5c70b77c46 (diff) | |
download | guix-112024826d3283284654475a50ccef81c697e2c9.tar.gz |
system: Explicitly set umask to 022 in /etc/profile.
Fixes <http://bugs.gnu.org/22650>. Reported by myglc2 <myglc2@gmail.com>. * gnu/system.scm (operating-system-etc-service)[profile]: Invoke 'umask'.
-rw-r--r-- | gnu/system.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index c0037a5820..5be24ba586 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -478,6 +478,9 @@ then export `cat /etc/environment | cut -d= -f1` fi +# Set the umask, notably for users logging in via 'lsh'. +# See <http://bugs.gnu.org/22650>. +umask 022 # Allow GStreamer-based applications to find plugins. export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\" |