Which command permanently changes the SELinux context of a file so it survives a relabel?
-
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