Could not open “/xx/xx/public_html/xxx/wp-config.php” as “xx”: Operation not permitted
I got that error when I try to open wp-config.php in File Manager (CPanel)
Do you have any idea how to fix that? Thanks in advance!
CodePudding user response:
This error means that you have no permission to edit the wp-config.php file.
My advice is to contact your hosting provider, as there's nothing we can do for you. Your hosting provider can either override the permissions or explain why it's inaccessible.
You can also try Reinhart Previano's answer if you have the ability to change file permissions.
CodePudding user response:
Have you checked out the file permissions? Make sure the wp-config.php
has both read access for both Group
and World
from the CPanel's File Manager, though: