aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-04-07 13:21:26 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-04-07 13:21:26 +0200
commit1711679ea5fd6a37db5a7a1b40eba1f58ad6c999 (patch)
tree62cc2bbe086f590eb9735cfe612d024b09c1139c /src/libstore/build.cc
parentafa433e58c3fe6029660a43fdc2073c9d15b4210 (diff)
Revert /nix/store permission back to 01775
This broke NixOS VM tests. Mostly reverts 27b7b94923d2f207781b438bb7a57669bddf7d2b, 5ce50cd99e740d0d0f18c30327ae687be9356553, afa433e58c3fe6029660a43fdc2073c9d15b4210.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index d768d4429..1fc5d4181 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1895,7 +1895,7 @@ void DerivationGoal::startBuilder()
build user. */
Path chrootStoreDir = chrootRootDir + settings.nixStore;
createDirs(chrootStoreDir);
- chmod_(chrootStoreDir, 0735);
+ chmod_(chrootStoreDir, 01775);
if (chown(chrootStoreDir.c_str(), 0, buildUser.getGID()) == -1)
throw SysError(format("cannot change ownership of ‘%1%’") % chrootStoreDir);