Error log for a few accounts running Wordpress sites are reporting errors regarding pcfg_openfile, file permissions.
[Fri Mar 23 21:31:33.979762 2018] [core:crit] [pid 28095] (13)Permission denied: [client 123.123.123.255:55807] AH00529: /home1/user/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home1/user/public_html/' is executable
# stat /home1/user/public_html
File: ‘public_html/’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 811h/2065d Inode: 6815757 Links: 12
Access: (0750/drwxr-x---) Uid: ( 1004/ user) Gid: ( 1006/ user)
Context: system_u
bject_r:unlabeled_t:s0
# stat /home1/user/public_html/.htaccess
File: ‘public_html/.htaccess’
Size: 4122 Blocks: 16 IO Block: 4096 regular file
Device: 811h/2065d Inode: 6816134 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1004/ user) Gid: ( 1006/ user)
Enable File Protect is enabled in Tweak Settings -> Security.
I ran /usr/local/cpanel/scripts/enablefileprotect, no errors reported.
Any idea what might be causing this and a solution for it?
[Fri Mar 23 21:31:33.979762 2018] [core:crit] [pid 28095] (13)Permission denied: [client 123.123.123.255:55807] AH00529: /home1/user/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home1/user/public_html/' is executable
# stat /home1/user/public_html
File: ‘public_html/’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 811h/2065d Inode: 6815757 Links: 12
Access: (0750/drwxr-x---) Uid: ( 1004/ user) Gid: ( 1006/ user)
Context: system_u
# stat /home1/user/public_html/.htaccess
File: ‘public_html/.htaccess’
Size: 4122 Blocks: 16 IO Block: 4096 regular file
Device: 811h/2065d Inode: 6816134 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1004/ user) Gid: ( 1006/ user)
Enable File Protect is enabled in Tweak Settings -> Security.
I ran /usr/local/cpanel/scripts/enablefileprotect, no errors reported.
Any idea what might be causing this and a solution for it?