سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top