SELinux is enabled by default in RHEL 6 and in some other distributions. Use the following procedure to disable SELinux
- Edit /etc/selinux/config and change the SELINUX= line to be SELINUX=disabled
- Reboot server
- Confirm SELinux is disabled by running getenforce
[root@server1 ~]# getenforce Disabled
- Run setfattr -x security.selinux against each file or folder that you want to remove the SELinux ACL from
setfattr -x security.selinux