chcon -t httpd_sys_content_t /srv/site
Category: VPS Management
chcon -t httpd_sys_content_t /srv/site
Temporarily change an SELinux file context
Use `chcon -t httpd_sys_content_t /srv/site` to temporarily change an SELinux file context. Helpful when you need this quickly on a Linux server.