We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e7dd58 commit d98f459Copy full SHA for d98f459
contrib/guix/libexec/build.sh
@@ -3,6 +3,16 @@ export LC_ALL=C
3
set -e -o pipefail
4
export TZ=UTC
5
6
+# Althought Guix _does_ set umask when building its own packages (in our case,
7
+# this is all packages in manifest.scm), it does not set it for `guix
8
+# environment`. It does make sense for at least `guix environment --container`
9
+# to set umask, so if that change gets merged upstream and we bump the
10
+# time-machine to a commit which includes the aforementioned change, we can
11
+# remove this line.
12
+#
13
+# This line should be placed before any commands which creates files.
14
+umask 0022
15
+
16
if [ -n "$V" ]; then
17
# Print both unexpanded (-v) and expanded (-x) forms of commands as they are
18
# read from this file.
0 commit comments