Red Hat Bugzilla – Bug 998041
Rubygem-passenger doesn't account for system umask when creating tmp directories
Last modified: 2013-09-09 03:31:02 EDT
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0
rubygem-passenger-3.0.21-5 was updated to fix a race condition with creating temp directories.
However, it did not take into account umask settings like the previous code did.
I've attached a patch that brings the code in line with the way that it used to work and prevents Passenger services from crashing all over the place.
Created attachment 787454 [details]
accounts for umask