Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这没有用:
设置 Apache 用户的 umask
Arch 没有/etc/apache2/envvars文件,更改/etc/rc.d/httpd脚本并没有改变任何内容。
/etc/apache2/envvars
/etc/rc.d/httpd
也许有人可以告诉我如何/在哪里准确更改 rc 脚本,所以 apache 有一个 umask 002
再次尝试后,奇怪地编辑/etc/rc.d/httpd文件有效。
就放
umask 0002
紧随其后#!/bin/bash,一切正常。
#!/bin/bash
不知道为什么它以前不起作用,但是...