请问chcon这个有用过的吗
请教chcon这个有用过的吗
我在centos运行了这个 chcon -R -t httpd_user_content_t /data ,现在搞的我重启httpd都是失败,请教怎么恢复过来,/etc/init.d/httpd restart 都是失败,怎么把那个chcon效果给恢复回去,用什么命令?
------解决方案--------------------
把SELinux禁用掉试试
我在centos运行了这个 chcon -R -t httpd_user_content_t /data ,现在搞的我重启httpd都是失败,请教怎么恢复过来,/etc/init.d/httpd restart 都是失败,怎么把那个chcon效果给恢复回去,用什么命令?
------解决方案--------------------
把SELinux禁用掉试试