diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-03T15·32+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-03T15·32+0000 |
commit | 35247c4c9f55fd49d8838b0df963016fdcde0420 (patch) | |
tree | a8d04945b60a28bb8fb9b6ff5b3f72d04e85f639 /src/libmain/shared.cc | |
parent | 84d6459bd5a0820729c57d710f886af6f423259b (diff) |
* Removed `build-allow-root'.
* Added `build-users-group', the group under which builds are to be performed. * Check that /nix/store has 1775 permission and is owner by the build-users-group.
Diffstat (limited to 'src/libmain/shared.cc')
-rw-r--r-- | src/libmain/shared.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index da5aeadeb673..8577d34a50e3 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -258,6 +258,8 @@ static void setuidInit() if (setuid(nixUid)) abort(); if (setgid(nixGid)) abort(); #endif + + setuidMode = true; } |