Page 1 of 1

Apache errors after enabling MESSENGERV3

Posted: 02 Oct 2020, 18:13
by marcele
After enabling MESSENGERV3 on a Plesk server apache logs are full of these errors:

Code: Select all

[Tue Sep 29 10:13:24.787935 2020] [negotiation:error] [pid 861] (13)Permission denied: [client 208.91.111.234:57410] AH00686: cannot read directory for multi: /home/csf/public_html/
[Tue Sep 29 10:13:40.261728 2020] [negotiation:error] [pid 28831] (13)Permission denied: [client 208.91.111.234:50991] AH00686: cannot read directory for multi: /home/csf/public_html/
[Tue Sep 29 10:13:49.511683 2020] [negotiation:error] [pid 28830] (13)Permission denied: [client 208.91.111.234:51794] AH00686: cannot read directory for multi: /home/csf/public_html/
[Tue Sep 29 10:14:19.694947 2020] [negotiation:error] [pid 28830] (13)Permission denied: [client 208.91.111.234:51906] AH00686: cannot read directory for multi: /home/csf/public_html/
It seems that the default permissions that CSF creates for the public_html directory are too strict:

Code: Select all

drwx--x--x. 2 csf  nobody   40 Jul 20 10:37 public_html
After running chmod 755 on public_html it corrected the apache errors:

Code: Select all

drwxr-xr-x. 2 csf  nobody   40 Jul 20 10:37 public_html

Re: Apache errors after enabling MESSENGERV3

Posted: 16 Oct 2020, 12:24
by ForumAdmin
We've added two new settings in csf.conf to make the group ownership and chmod value configurable for the next csf release. In the meantime, if you pre-create the MESSENGER_USER public_html directory as desired, csf won't overwrite existing group ownership/permissions.

Re: Apache errors after enabling MESSENGERV3

Posted: 19 Oct 2020, 12:11
by marcele
Sounds good. I had correct the perms along time ago but nice to see that there are settings for this now. Many thanks!