* Set umask to prevent permission problems.
This commit is contained in:
		
							parent
							
								
									48ebe4527e
								
							
						
					
					
						commit
						60feff82cf
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue