RHCSA Exam Practice Test
RHCSA RHCSA SELinux Contexts and Booleans 2
Which command permanently changes the SELinux context of a file so it survives a relabel?
Select your answer
A
chcon -t httpd_sys_content_t /var/www/html/index.html
B
semanage fcontext -a -t httpd_sys_content_t '/var/www/html/index.html'
C
restorecon -v /var/www/html/index.html
D
setfattr -n security.selinux /var/www/html/index.html
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 RHCSA Flashcards — Study This Quiz as Flip Cards →
📚 Want to go deeper? Read the Full RHCSA Study Guide →