@robocoder opened this Issue on April 7th 2010 Contributor

Technically, an overly restrictive umask is a web server misconfiguration.

If the umask is too restrictive, e.g., 0222, then files created by tempnam() are read-only. This is problematic for libs/Smarty/internal/core.write_file.php, core/CacheFile.php, libs/Zend/Http/Client.php.

A workaround would be to: @chmod($file, 0600) after calling tempnam().

@robocoder commented on January 17th 2011 Contributor

A related issue is when we mkdir/copy with 0755.

@robocoder commented on January 17th 2011 Contributor

(In [3772]) refs #1294 - mkdir wrapper inconsistencies

@robocoder commented on January 17th 2011 Contributor

(In [3773]) refs #1294 - chmod() after tempnam() to undo a restrictive umask

@robocoder commented on January 17th 2011 Contributor

(In [3774]) refs #1294 - chmod() after mkdir() to mitigate restrictive umask

@mattab commented on May 25th 2011 Owner

Is there still work to do or fixed or wontfix?

@robocoder commented on May 25th 2011 Contributor

nothing else planned for this ticket

This Issue was closed on May 25th 2011
Powered by GitHub Issue Mirror