Bug 998041 - Rubygem-passenger doesn't account for system umask when creating tmp directories
Rubygem-passenger doesn't account for system umask when creating tmp directories
Status: NEW
Product: Fedora EPEL
Classification: Fedora
Component: rubygem-passenger (Show other bugs)
el6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Brett Lentz
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-16 16:17 EDT by Jamie Duncan
Modified: 2013-09-09 03:31 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
accounts for umask (778 bytes, patch)
2013-08-16 16:20 EDT, Jamie Duncan
no flags Details | Diff

  None (edit)
Description Jamie Duncan 2013-08-16 16:17:14 EDT
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0
Build Identifier: 

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.

Reproducible: Always
Comment 1 Jamie Duncan 2013-08-16 16:20:26 EDT
Created attachment 787454 [details]
accounts for umask

Note You need to log in before you can comment on or make changes to this bug.