aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-08 16:59:22 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-08 16:59:22 +0100
commit57d64d24aa0bf6cba08eecbf711e7aa861b9030d (patch)
tree05dcd5926b2337318240f7b8cfdd57fc64e3c3ec /src/libstore/local-store.cc
parent57b82256b0544a3c54e7a8bcabd184eef9c3903a (diff)
Doh^2
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 01694332c..bc792baf2 100644
--- a/src/libstore/local-store.cc
+++ b/src/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;