Permission denied: /home/username/ htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

When checking your error log you find the error 508 or 403 forbidden error in your browser and the following in the error_log file. "Permission denied: /home/username/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable". This can occur when you change from suphp to dso. When occuring, run the following on the accounts public_html, or if a subdomain or addon domain:

chmod 755 /home/username/public_html/
or:
chmod 755 /home/username/public_html/addondomain/

If this corrects the account and you are finding this is occurring globally on the server run the following:
chmod 755 /home/*/public_html/


  • 167 Users Found This Useful

Was this answer helpful?

Related Articles

ModSecurity: collection_store: Failed to access DBM file /var/cpanel/secdatadir/ip: Permission denied

The error Failed to access DBM file /var/cpanel/secdatadir/ip: Permission denied can occur on...

Repairing and Optimizing all MySQL and MariaDB Databases on the Server

From time to time you will find repairing and optimizing your databases are necessary. From a...

FTP Failed: Service check failed to complete Unable to connect to port 21

The service “ftpd” appears to be down. The system failed to connect to this service’s TCP/IP...

Remount /tmp with exec permission

There are times where you may need to have exec permission available for the /tmp folder. This...

Create CXS Quarantine Directory

The following command may be used to create a quarantine directory for Configserver's CXS: cxs...