2011年12月7日

搞定了Apache虚拟目录的SELinux权限

摘要: 折腾了一个多小时,终于把Apache网站目录的SELinux权限搞定了~我的SELinux模式是enforcing。[root@CentOS /]# chcon -t httpd_sys_content_t /www[root@CentOS /]# chcon -t httpd_sys_content_t /www -R[root@CentOS /]# ls -Z /www/drwxr-xr-x. root root unconfined_u:object_r:httpd_sys_content_t:s0 docs就是说,只要把目录和文件的SELinux type(-t或者--type)设置成 阅读全文

posted @ 2011-12-07 17:23 sztsian 阅读(370) 评论(0) 推荐(0)

导航