This commit is contained in:
Eelco Dolstra 2015-01-08 16:59:22 +01:00
parent 57b82256b0
commit 57d64d24aa

View file

@ -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;