Which command sets a permanent SELinux file context so it survives `restorecon`?
-
A
chcon -t httpd_sys_content_t /mydir
-
B
semanage fcontext -a -t httpd_sys_content_t '/mydir(/.*)?'
-
C
restorecon -t httpd_sys_content_t /mydir
-
D
setsebool httpd_sys_content_t /mydir