Permalink
Browse files

Fix a permission problem when Nginx is running as root and user switc…

…hing is off.
  • Loading branch information...
1 parent 4098be0 commit 5ac720c44a509d9f77a63c8f526425cf6de8934f @FooBarWidget FooBarWidget committed Apr 16, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/common/Utils.cpp
View
@@ -370,7 +370,7 @@ createPassengerTempDir(const string &systemTempDir, bool userSwitching,
if (userSwitching) {
makeDirTree(tmpDir + "/master", "u=wxs,g=,o=", workerUid, workerGid);
} else {
- makeDirTree(tmpDir + "/master", "u=wxs,g=x,o=", lowestUid, lowestGid);
+ makeDirTree(tmpDir + "/master", "u=wxs,g=x,o=x", lowestUid, lowestGid);
}
} else {
makeDirTree(tmpDir + "/master", "u=wxs,g=,o=");

0 comments on commit 5ac720c

Please sign in to comment.