From 07e976aae20eb4ce5de4e35085b8fe8c5eac0cb5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 27 Aug 2008 15:27:06 +0000 Subject: [PATCH] * Just to be sure that we don't make the whole build tree world-writable, which would be an obvious security problem... svn path=/nixpkgs/trunk/; revision=12749 --- pkgs/stdenv/generic/setup-new.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/generic/setup-new.sh b/pkgs/stdenv/generic/setup-new.sh index b646c3ed7f12..188ad8961771 100644 --- a/pkgs/stdenv/generic/setup-new.sh +++ b/pkgs/stdenv/generic/setup-new.sh @@ -538,7 +538,7 @@ unpackPhase() { # necessary when sources have been copied from other store # locations. if test "dontMakeSourcesWritable" != 1; then - chmod -R +w $sourceRoot + chmod -R u+w $sourceRoot fi eval "$postUnpack"