This commit is contained in:
Eelco Dolstra 2015-01-08 16:59:22 +01:00 committed by Ludovic Courtès
parent 8c94a864d8
commit 7a7a15877f
1 changed files with 1 additions and 1 deletions

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;