[Discuss] apache issue (dan moylan)

Dale R. Worley Dale.Worley at comcast.net
Thu Sep 18 12:27:30 EDT 2025


discuss-request at driftwood.blu.org writes:
> From: dan moylan <jdm at moylan.us>
>
> 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?

Two things to watch out for:  Apache has to have x permission for all
directories above /home/moylan/log so that it even find the log
directory.

SELinux tends to be set to limit what daemons can access even if the
permission bits let them.  Particularly, there seem to be restrictions
on accessing user directories.  Check the security context of the Apache
process and the ACLs on /home/moylan and /home/moylan/log.

But as Rich said, it's probably better to put the log directory among
the "system" directories.

Dale


More information about the Discuss mailing list