Changing umask of apache on ArchLinux [closed]

邮差的信 提交于 2019-12-11 16:44:45

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!