Menu

#6 umask error in FileBackend.pm

open
nobody
None
5
2006-09-01
2006-09-01
Anonymous
No

In FileBackend.pm on line 587:

$p_optional_mode ||= 0666 - umask( );

should be

$p_optional_mode ||= 0666 - (0666 & umask);

---
If your umask has a 7 in it, then it breaks the file
mode calculation.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.