From 51c111cb2e8db7edcd61774d785196c5115102cb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 15 Dec 2005 17:00:56 +0000 Subject: [PATCH] * Use a restrictive umask to prevent permission problems. svn path=/nixpkgs/trunk/; revision=4374 --- pkgs/build-support/fetchsvn/nix-prefetch-svn | 4 ++++ 1 file changed, 4 insertions(+) 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