You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 25, 2018. It is now read-only.
The httpd_config resource currently hard codes the ownership and mode of these files.
Additionally, the default configuration when installing httpd is to make these root:root, world readable. Based on https://httpd.apache.org/docs/2.4/misc/security_tips.html changing this to apache doesn't seem like it's a standard security recommendation. Specifically:
In typical operation, Apache is started by the root user, and it switches to the user defined by the User directive to serve hits.
This is why it's world readable so whatever user you have the webserver running as can read the configuration files. It also means that there can be per service run_user/run_group.
There is a lot of work that would have to be done to change this and have it still work. This is unlikely to be something that our team will work on. If I'm misunderstanding some aspect of this, please do add more information to this issue.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Cookbook version
0.5.0
Chef-client version
chef-client version: 12.18.31
Platform Details
Centos 6
Scenario:
Due to security we would like the ability to change the default directory permissions from root to apache.
Steps to Reproduce:
Expected Result:
Being able to change the group and user permissions. Changing the file permissions to 750.
Actual Result:
The text was updated successfully, but these errors were encountered: