Tag Archives: selinux

Промяна на DocumentRoot при включен SELinux

Когато имате пуснат SELinux, той не разрешава да промените DocumentRoot на apache server-a. Така изглежда default директорията на apache-то след изпъленение на командата ls -aZ ?View Code BASH1 2 3 4 5 6 [Bashev@home www]$ ls -aZ 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 Bashev Bashev system_u:object_r:httpd_sys_content_t html drwxr-xr-x root root [...]

Leave a comment Continue Reading →