在ArchLinux的更改的Apache的umask [英] Changing umask of apache on ArchLinux

查看:103
本文介绍了在ArchLinux的更改的Apache的umask的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这不工作:

设置Apache用户的的umask

拱不具有的/ etc / apache2的/ envvars中文件,并更改 /etc/rc.d/httpd 脚本没有改变任何东西。

Arch doesn't have a /etc/apache2/envvars file, and changing the /etc/rc.d/httpd script didn't change anything.

也许有人可以赐教如何/在哪里正是改变的rc脚本,以便Apache有一个002的umask

Maybe someone can enlighten me how/where to exactly change the rc-script, so apache has an umask 002

推荐答案

再次尝试,奇怪编辑 /etc/rc.d/httpd 文件的工作后。

After trying again, strangely editing the /etc/rc.d/httpd file works.

只要把

的umask 0002

右键后#!/斌/庆典和一切正常,因为它应该。

Right after the #!/bin/bash and everything works as it should.

不知道为什么它没有工作之前,但远...

No idea why it didn't work before, but well...

这篇关于在ArchLinux的更改的Apache的umask的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆