[suPHP] suphp uploaded file permissions

Fili fili at fili.nl
Wed Sep 24 16:33:08 CEST 2008


olriss wrote:
> I installed libapache2-mod-suphp-0.6.2-1+etch0,but have some problems.
> when I create new file with php code it's permissions seems ok.(644)
> but uploaded files with same way is not.(600)
>
> Lots of people says that file upload operation is not related with suphp.
>
>   

This behaviour is adjustable by the umask setting in /etc/suphp/suphp.conf.
Change umask=0077 to umask=0022 and new files will be created as 644.

-Fili



More information about the suPHP mailing list