Bug 127900
Summary: | selinux-policy-targeted breaks file access for httpd | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nathan G. Grennan <redhat-bugzilla> |
Component: | selinux-policy-targeted | Assignee: | Russell Coker <rcoker> |
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | dwalsh, pgraner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-10-05 23:22:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 123268, 133652 |
Description
Nathan G. Grennan
2004-07-15 03:31:27 UTC
selinux-policy-targeted-1.15.3-1 The previous version had the same problem, and a tested workaround was to disable selinux. In order to get homedirectory access working with Targeted policy you need to mark the files with httpd_user_content_t chcon -t httpd_user_content_t /home/user/XYZ You need to change the context of the file after you relocate it from your home directory to /var/www/html. "restorecon /var/www/html/vm/vm.exe" should do the trick. Closing as NOTABUG. |