mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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
1 changed files with 3 additions and 0 deletions
|
@ -478,6 +478,9 @@ (define* (operating-system-etc-service os)
|
|||
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\"
|
||||
|
|
Loading…
Reference in a new issue