Apache errors after enabling MESSENGERV3

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

Apache errors after enabling MESSENGERV3

Post 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
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Apache errors after enabling MESSENGERV3

Post 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.
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

Re: Apache errors after enabling MESSENGERV3

Post 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!
Post Reply