summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-08 16:59:22 +0100
committerLudovic Courtès <ludo@gnu.org>2015-06-03 18:30:50 +0200
commit7a7a15877f8f391a8a8a74f7a6e919a07dc19237 (patch)
treeb9a81dc2e0d96c02be24d0f1bff1ee3a02066bc2
parent8c94a864d806647736410326d496a8d668109f5a (diff)
downloadguix-7a7a15877f8f391a8a8a74f7a6e919a07dc19237.tar.gz
Doh^2
-rw-r--r--nix/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libstore/local-store.cc b/nix/libstore/local-store.cc
index 0457391889..6049478ae9 100644
--- a/nix/libstore/local-store.cc
+++ b/nix/libstore/local-store.cc
@@ -254,7 +254,7 @@ LocalStore::LocalStore(bool reserveSpace)
         Path perUserDir = profilesDir + "/per-user";
         createDirs(perUserDir);
         if (chmod(perUserDir.c_str(), 01777) == -1)
-            throw SysError(format("could not set permissions on '%1%' to 1737") % perUserDir);
+            throw SysError(format("could not set permissions on '%1%' to 1777") % perUserDir);
 
         mode_t perm = 01735;