On 06/29/2018 10:15 PM, mark wrote:
As Lukas suggested, I tried to relabel the file. It didn't work,
and the
reason is this: we have the web under our own root directory, not under
/var/www. We had done an semanage fcontext -e /var/www <ourpath>. When I
tried to relabel, it suggested I try to relabel using the /var/www path,
which won't work.
Is there any way around this?
/<ourpath>/htdocs/<website>/cgi-bin/data/<the probelematic file>
mark
Hi,
Could you attach complete outputs from semanage/ls (-Z)/ matchpathcon
commands? I would like to reproduce it to help you find issue.
Lukas.
_______________________________________________
selinux mailing list -- selinux(a)lists.fedoraproject.org
To unsubscribe send an email to selinux-leave(a)lists.fedoraproject.org
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@lists.fedoraproject...
--
Lukas Vrabec
Software Engineer, Security Technologies
Red Hat, Inc.