Please sign in to comment.
File::create() does not need to change umask
umask(0) causes all files to be created with 666 permission. After input from jrbasso and AD7six, this was found to be an additional code to support caching using file engine. FileEngine has since moved to SplFile since 2.x and thus umask juggling is not required anymore. Refs: f9f1c4d Cherrypicked from 2.2 branch.
- Loading branch information...
Showing with 44 additions and 3 deletions.