httpd with symbolic links and selinux enabled

Tim ignored_mailbox at yahoo.com.au
Wed Dec 2 04:47:30 UTC 2009


On Tue, 2009-12-01 at 12:04 -0500, Daniel J Walsh wrote:
> You need to fix the context to match that in public_html
>  
> chcon -R -t httpd_user_content_t foo 
>  
> Would do it.

If that's the problem (just SELinux preventing serving), you'd also have
to keep re-changing the contexts, every time there was a SELinux
relabel, and every time you created new files in that location.  Or, set
a policy rule so that files, automatically get suitable contexts for
those file locations.

-- 
[tim at localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.






More information about the fedora-list mailing list