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

dukeOfOak
  • 23
  • 3

2 Answers2

1

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

voretaq7
  • 79,879
  • 17
  • 130
  • 214
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.

SIFE
  • 121
  • 3