how to relabel one folder with SELinux
Paul Howarth
paul at city-fan.org
Mon Nov 13 15:51:29 UTC 2006
shams wrote:
> hi,
> i installed the fc6, my Documents Root for the server html was in the
> separate partition i mounted after installation under /var/www/, now
> SELinux prevent to reach the document root the this is:
> www]$ls -halZ
> drwxr-xr-x root root system_u:object_r:textrel_shlib_t .
> drwxr-xr-x root root system_u:object_r:var_t ..
> drwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t cgi-bin
> drwxr-xr-x root root system_u:object_r:httpd_sys_content_t error
> drwxr-xr-x root root user_u:object_r:file_t html
> drwxr-xr-x root root system_u:object_r:httpd_sys_content_t icons
>
> how i can relabel the only one directory html?
# restorecon -r /var/www
Paul.
More information about the fedora-selinux-list
mailing list