diff options
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 81a776e4fdf3..cd3dddab6cca 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -467,6 +467,8 @@ void UserLock::acquire() if (!pw) throw Error(format("the user `%1%' in the group `%2%' does not exist") % *i % buildUsersGroup); + + createDirs(nixStateDir + "/userpool"); fnUserLock = (format("%1%/userpool/%2%") % nixStateDir % pw->pw_uid).str(); |