1

I have Apache 2.2 running under FreeBSD 7 (and 8). It runs with the system default umask of 022, and I need it to be 002 so that www group members can make changes without having to chase it with chmod.

I put www into a login class with an overridden umask, which did not work.

How can I force a umask of 002 in Apache, independent of how Apache is launched (rc.d or apachectl, etc).

1

2 Answers 2

1

You seek the assistance of mod_umask (not, to my knowledge, available in ports - haven't gone on an extensive search though).

0

If you have www user, try to make to him a home directory then open /home/www/.bashrc and set default umask you want.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .