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



On Tue, 16 Sep 2025 18:10:02 +0000
"jdm at moylan.us" wrote:

> i created a directory /home/moylan/log and changed ownership
> to apache:apache.  apache can't write to it.  is there any
> way i can create a directory under /home/moylan that apache
> is able to write to?

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.

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?

-- 
\m/ (--) \m/



Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org