HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c16ffd
)
guix-install.sh: Use a deterministic umask.
author
Tobias Geerinckx-Rice
<me@tobias.gr>
Wed, 4 Dec 2019 02:42:28 +0000
(
03:42
+0100)
committer
Tobias Geerinckx-Rice
<me@tobias.gr>
Wed, 4 Dec 2019 02:59:04 +0000
(
03:59
+0100)
Users with strict umasks (e.g. 0077) would end up with an unreadable
/gnu (mode 0700) and no way to run guix.
Reported by A. <@aaap:matrix.org> on #guix.
* etc/guix-install.sh (main): Set umask before installing anything.
etc/guix-install.sh
patch
|
blob
|
blame
|
history
diff --git
a/etc/guix-install.sh
b/etc/guix-install.sh
index
bd3ab90
..
111e25f
100755
(executable)
--- a/
etc/guix-install.sh
+++ b/
etc/guix-install.sh
@@
-439,6
+439,7
@@
main()
_msg "${INF}system is ${ARCH_OS}"
+ umask 0022
tmp_path="$(mktemp -t -d guix.XXX)"
guix_get_bin_list "${GNU_URL}"