问题
This didn't work:
Setting the umask of the Apache user
Arch doesn't have a /etc/apache2/envvars
file, and changing the /etc/rc.d/httpd
script didn't change anything.
Maybe someone can enlighten me how/where to exactly change the rc-script, so apache has an umask 002
回答1:
After trying again, strangely editing the /etc/rc.d/httpd
file works.
Just put
umask 0002
Right after the #!/bin/bash
and everything works as it should.
No idea why it didn't work before, but well...
来源:https://stackoverflow.com/questions/5477899/changing-umask-of-apache-on-archlinux