Practice Test Geeks home

RHCSA Exam RHCSA SELinux Contexts and Booleans Questions and Answers

A web administrator moves a new website's content from their home directory to `/srv/www/content` using the `mv` command.
Standard file permissions are correct, but the website is returning '403 Forbidden' errors.

An `ls -Z` on the content reveals the context `unconfined_u:object_r:user_home_t:s0`.

Which command will fix the context issue for the existing files and ensure new files created in that directory get the correct context?

Select your answer