Changing umask of apache on ArchLinux [closed]

2019-09-01 03:58发布

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条回答
Rolldiameter
2楼-- · 2019-09-01 04:22

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

查看更多
登录 后发表回答