mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
* Set umask to prevent permission problems.
This commit is contained in:
parent
48ebe4527e
commit
60feff82cf
@ -23,6 +23,10 @@ my $stateDir = $ENV{"NIX_STATE_DIR"};
|
||||
$stateDir = "@localstatedir@/nix" unless defined $stateDir;
|
||||
|
||||
|
||||
# Prevent access problems in shared-stored installations.
|
||||
umask 0022;
|
||||
|
||||
|
||||
# Obtain URLs either from the command line or from a configuration file.
|
||||
my %narFiles;
|
||||
my %patches;
|
||||
|
Loading…
Reference in New Issue
Block a user