default umask for Apache
Kelly D. Grills
kdgrills at the-grills.com
Sun Jul 9 21:10:45 UTC 2006
On Sun, Jul 09, 2006 at 01:19:47PM -0700, jekillen wrote:
>
> Hello;
> I've not had to do this on a Unix system before. But now I have Apache
> running as nobody and
> have php scripts creating and writing to directories. The files it
> creates have the default mask
> rw-r-r and I want to change it to rw-rw-- so I can remove the files and
> dirs with group write permissions
> via ftp.
Could you not chmod the files / directories via your php script? See:
http://php.net/manual/en/function.chmod.php
> <question>
> How do you change the default mask for a user like Apache on a Unix
> system?
> </question>
I believe you can set this via envvars
--
Kelly D. Grills
kdgrills at the-grills.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 243 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060709/9b38e298/attachment.pgp
More information about the freebsd-questions
mailing list