On 11/08/2018 10:51 AM, Mahmood Naderan
wrote:
Don't understand what you want to say. ./ow_userfiles/plugins/base/attachments/temp_5be3f85348052_5be3f85347985.docx is a relative path. not an absolute path. yes. but based on your absolute path to the directory where your httpd needs write access selinux fcontext --add requires an adjusted regex. because selinux is about preventing things that are not allowed. Httpd is normally exposed to the network and a good target for hackers. So the default policy gives the httpd the least privileges that are possible. audit2allow only works for easy problems. Your problem is that someone moved files form $HOME to /var/www . Move also moves SELinux filesystem labels. Now you've got files with wrong labels in /var/www. This is no easy problem to solve for a computer tool.
booleans are not filesystems labels/types. What do you wanted to show with the list?
|
_______________________________________________ selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx