diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-12-15 17:00:56 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-12-15 17:00:56 +0000 |
commit | 51c111cb2e8db7edcd61774d785196c5115102cb (patch) | |
tree | 598dfda8b28f892f110992d9a4a9738d1ed716f9 /pkgs/build-support | |
parent | ded942b341d65b8aceeeab6a699554e95d35c1b4 (diff) | |
download | nixlib-51c111cb2e8db7edcd61774d785196c5115102cb.tar nixlib-51c111cb2e8db7edcd61774d785196c5115102cb.tar.gz nixlib-51c111cb2e8db7edcd61774d785196c5115102cb.tar.bz2 nixlib-51c111cb2e8db7edcd61774d785196c5115102cb.tar.lz nixlib-51c111cb2e8db7edcd61774d785196c5115102cb.tar.xz nixlib-51c111cb2e8db7edcd61774d785196c5115102cb.tar.zst nixlib-51c111cb2e8db7edcd61774d785196c5115102cb.zip |
* Use a restrictive umask to prevent permission problems.
svn path=/nixpkgs/trunk/; revision=4374
Diffstat (limited to 'pkgs/build-support')
-rwxr-xr-x | pkgs/build-support/fetchsvn/nix-prefetch-svn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchsvn/nix-prefetch-svn b/pkgs/build-support/fetchsvn/nix-prefetch-svn index b6019386ee91..3e99e6f5de07 100755 --- a/pkgs/build-support/fetchsvn/nix-prefetch-svn +++ b/pkgs/build-support/fetchsvn/nix-prefetch-svn @@ -11,6 +11,10 @@ fi test -n "$rev" || rev="HEAD" +# Use a restrictive umask to ensure that the output in the Nix store +# is not group- or world-writable. Nix 0.10 complains about this. +umask 0022 + # Determine the hash, unless it was given. if test -z "$hash"; then |