Setting umask for www-data?
I'm using 10.04 and am having some problems setting the umask for www-data.
I want to use a umask of 002 when the web server creates files, but nothing I do changes it from the default. I've tried adding
to: /etc/init.d/apache2
/etc/apache2/envvars
/home/www-data/.bashrc
I have restarted the web server after every file change. What am I missing?
Re: Setting umask for www-data?
Hi jmickela.
Instead of restarting, try stop and the start.
Just a thought.
Let us know how it goes.
Regards.
Re: Setting umask for www-data?
Looks like that did it! Thanks a lot.