Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
Permission denied in vhost document root

Apache cant process my files due to forbidden error, searching resulted that it might be because of selinux, how can I change selinux policy of a specific file?

It's Centos 6.x

share|improve this question

marked as duplicate by Michael Hampton, Scott Pack, RobM, EEAA, Magellan Oct 29 '12 at 4:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 1 down vote accepted
restorecon -Fv /path/to/your/file
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.