Umask
Categories
Component ID
344995
Component name
Umask
Component type
module
Component security advisory coverage
not-covered
Downloads
1277
Component created
Component changed
Component body
On PHP previous to version 5.2.5, move_uploaded_file() doesn't respect the umask if the file is just moved (renamed). For details, see PHP bug #42291.
This module simply change the mode bits (chmod) to ~umask & 0666 for a file just uploaded with CCK module FileField. The module doesn't (yet) support core's Upload module.
This module is developed by Thomas Barregren at NodeOne.
The development of this module has been sponsored by:
