guix-install.sh: Use a deterministic umask.
authorTobias Geerinckx-Rice <me@tobias.gr>
Wed, 4 Dec 2019 02:42:28 +0000 (03:42 +0100)
committerTobias Geerinckx-Rice <me@tobias.gr>
Wed, 4 Dec 2019 02:59:04 +0000 (03:59 +0100)
commit32c06affca63f12bb1de78e7c1ae52be5b61bb30
tree1e25352a4e7ac55eee56b47e80b9937a8f90b3e7
parent4c16ffd383592854e2760004d2df354f85b32e57
guix-install.sh: Use a deterministic umask.

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