Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] apache issue



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.




Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org