TECHIES WORLD

For Techs.... Techniques.... Technologies....

ApacheCpanelLinux

Apache Error: because search permissions are missing on a component of the path

because search permissions are missing on a component of the path

Sometimes you may face the above error even if the file,folder ownership and permissions are correct.

This is because of the selinux policy and we can resolve this by disabling it.

As the temporary solution run the following command on terminal.

#setenforce 0

This will disable the selinux till the next reboot of the server.

In-order to disable selinux permanently, update the following line in the config file '/etc/sysconfig/selinux'.

SELINUX=disabled

That's all…

Leave a Reply