Changes SELinux context of file
Examplechcon -t httpd_sys_content_t file.txt
chcon -t httpd_sys_content_t file.txt
Changes the SELinux security context of a file.
Examplechcon -t httpd_sys_content_t /var/www/html/index.html
chcon -t httpd_sys_content_t /var/www/html/index.html
DevOpsSchoolTypically replies within an hour