Sign inSign up free

1399. Moved Files and SELinux Labels

medium 5 XP ~1 minQuiz Pro

You create index.html in /root, then mv it to /var/www/html. Apache returns 403 Forbidden for it. A second page created with cp /root/test.html /var/www/html/ works. Permissions are 644 on both. Why the difference?

This is a Pro problem

Pro unlocks every lab and quiz, all roadmaps and a full daily plan.

Unlock with Pro

Part of Prepare for the RHCSA. Next step: Apache on a Non-Standard Port

Pro question

Upgrade to answer this question and see its explanation.

See Pro