We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Fix temp folder creation permissions mode so that it works on FreeBSD.
Hongli Lai (Phusion) (author)
Sat Nov 22 11:39:13 -0800 2008
commit  9300a7d0535187f365c0dac96403f52468ae4ed3
tree    38c43ab7e538bc4d33b3ed54073be28be0021c50
parent  bdcc70bbb72e7c256fe2780cadb59754b71c36ff
...
244
245
246
247
 
248
249
250
...
244
245
246
 
247
248
249
250
0
@@ -244,7 +244,7 @@ getPassengerTempDir(bool bypassCache) {
0
 
0
 void
0
 createPassengerTempDir() {
0
- makeDirTree(getPassengerTempDir().c_str(), "u=rwxs,g=wxs,o=wxs");
0
+ makeDirTree(getPassengerTempDir().c_str(), "u=rwxs,g=wx,o=wx");
0
 }
0
 
0
 void
...
357
358
359
360
 
361
362
363
...
357
358
359
 
360
361
362
363
0
@@ -357,7 +357,7 @@ protected
0
       dir = Dir.tmpdir
0
     end
0
     if create && !File.exist?(dir)
0
- system("mkdir", "-p", "-m", "u=rwxs,g=wxs,o=wxs", dir)
0
+ system("mkdir", "-p", "-m", "u=rwxs,g=wx,o=wx", dir)
0
     end
0
     return dir
0
   end

Comments

    No one has commented yet.