From 112024826d3283284654475a50ccef81c697e2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 8 Mar 2016 23:30:53 +0100 Subject: [PATCH] system: Explicitly set umask to 022 in /etc/profile. Fixes . Reported by myglc2 . * gnu/system.scm (operating-system-etc-service)[profile]: Invoke 'umask'. --- gnu/system.scm | 3 +++ 1 file changed, 3 insertions(+) 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 . +umask 022 # Allow GStreamer-based applications to find plugins. export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\"