Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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).

share|improve this question

3 Answers 3

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

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.