[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how to relabel one folder with SELinux



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]