[Discuss] apache issue
Ron
ron at bclug.ca
Wed Sep 17 19:45:49 EDT 2025
Rich Pieri wrote on 2025-09-16 12:26:
> I think /home/moylan needs to be mode 755 so that the apache user can
> read the directory to even find /home/moylan/log. Then /home/moylan/log
> needs to be readable and writable by the apache user.
One could also use `setfacl` to set file access control lists per user &
folder if one wants to get fancy.
> This is probably not a good idea. System services shouldn't be writing
> to users' home directories. What is the reason for not writing in
> /var/log/apache or equivalent?
In shared hosting, it's beneficial to have
~/public_html/{logs,html,cgibin} folders, but that's pretty old school
these days.
More information about the Discuss
mailing list