Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top