mirror of
https://github.com/NixOS/nix.git
synced 2025-02-17 01:12:33 +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;
|
$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.
|
# Obtain URLs either from the command line or from a configuration file.
|
||||||
my %narFiles;
|
my %narFiles;
|
||||||
my %patches;
|
my %patches;
|
||||||
|
Loading…
Reference in New Issue
Block a user