[CentOS] C7 apache file access
Gordon Messmer
gordon.messmer at gmail.comThu Dec 24 06:08:42 UTC 2015
- Previous message: [CentOS] Solved - Re: C7 apache file access
- Next message: [CentOS] C7 apache file access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/23/2015 11:15 AM, Robert Moskowitz wrote: > Wiaht is this httpd_user_content_t? That is an selinux context which httpd is allowed to access. It is defined as the label for files matching the regex /home/[^/]*/((www)|(web)|(public_html))(/.+)? in /etc/selinux/targeted/contexts/files/ "restorecon" can be used to reset contexts to those defined in that directory. > Why on files I create on this system and not those I cp from a USB drive? Because you used cp -a, which preserves permissions and labels, among other attributes. Normally, files inherit a context from their parent directory.
- Previous message: [CentOS] Solved - Re: C7 apache file access
- Next message: [CentOS] C7 apache file access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list