Umask

TBarregren - December 9, 2008 - 23:41

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:

Releases

Official releasesDateSizeLinksStatus
6.x-1.12008-Dec-106.63 KBRecommended for 6.xThis is currently the recommended release for 6.x.


 
 

Drupal is a registered trademark of Dries Buytaert.