* Set umask to prevent permission problems.

This commit is contained in:
Eelco Dolstra 2005-02-08 13:00:39 +00:00
parent 48ebe4527e
commit 60feff82cf

View File

@ -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;