SELinux 403 forbidden on moved files

The SELinux on Centos , Fedora or RedHat maintains a siganature of origin for file if moved into folders and if we move files from different folders into html root and access it, 403 forbidden and a security notification is triggered from SElinux.

To avoid this we can do the following command, which resets all such origin signatures for the files in folder and makes all accessible for httpd process.

Leave a Reply