[CentOS] Forbidden: can't access *.html files in /var/www/html

Paul Heinlein heinlein at madboa.com
Wed Sep 29 15:40:17 UTC 2010


On Wed, 29 Sep 2010, Jay Leafey wrote:

> Fixing it is easy, just run restorecon:
>
> restorecon -rv /var/www/html

Is there any received wisdom about when it is more appropriate to use 
restorecon directly instead of the fixfiles wrapper? I tend to use 
fixfiles, but I haven't really thought it through.

-- 
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/



More information about the CentOS mailing list