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:
parent
5284339d9d
commit
112024826d
|
@ -478,6 +478,9 @@ then
|
||||||
export `cat /etc/environment | cut -d= -f1`
|
export `cat /etc/environment | cut -d= -f1`
|
||||||
fi
|
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.
|
# Allow GStreamer-based applications to find plugins.
|
||||||
export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\"
|
export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\"
|
||||||
|
|
Loading…
Reference in New Issue