X
X
xzeens2016-03-10 13:58:11
Apache HTTP Server
xzeens, 2016-03-10 13:58:11

How to allow apache to read files created by other users?

I have a CPANEL/WHM project where another application creates files under a different user.
And when I follow the direct link to these files, apache returns 404.
Apache log:

Caught race condition abuser. attacker: 502, victim: 0 open file owner: 0, open file:

This means that apache does not have access to files created by another user.
How to fix this? Have access to whm

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xzeens, 2016-03-10
@xzeens

Found the answer here
It was a patch for apache in WHM. Apache rebuilt, reconfigured everything, everything is ok. There was just some patch that forbids apache to read files not created by it.

E
Eugene, 2016-03-10
@Nc_Soft

You need to add the user to the www-data group (to the Apache group)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question