openshift / origin-server

OpenShift 2 (deprecated)
889 stars 516 forks source link

[TO_STAGE] apache lacks permission to access openshift-node-web-proxy log files #6329

Closed dinhxuanvu closed 8 years ago

dinhxuanvu commented 8 years ago

The directory /var/log/openshift/node is currently owned by root under 750 node. As a result, any other processes will not be able to access that directory which will cause permission failure.

This commit changes the directory permission to 751 which allows users such as apache-owned processes to traverse the directory and access to sub-directory /node-web-proxy which is owned by apache.

Bug 1285424 Link https://bugzilla.redhat.com/show_bug.cgi?id=1285424

Signed-off-by: Vu Dinh vdinh@redhat.com

dinhxuanvu commented 8 years ago

@a13m Sorry for the duplication. I was having a bit of problem with cherry-pick. Please review when you have a chance. Thanks.

dinhxuanvu commented 8 years ago

[test]

openshift-bot commented 8 years ago

Evaluated for online test up to 6f595c31d31bbb47d02f3cefcdcbf69493c03c36

openshift-bot commented 8 years ago

Online Test Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests_generic/693/)

openshift-bot commented 8 years ago

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests_generic/1206/) (Image: devenv-stage_1204)

openshift-bot commented 8 years ago

Evaluated for online merge up to 6f595c31d31bbb47d02f3cefcdcbf69493c03c36