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'.
This commit is contained in:
Ludovic Courtès 2016-03-08 23:30:53 +01:00
parent 5284339d9d
commit 112024826d
1 changed files with 3 additions and 0 deletions

View File

@ -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\"