File and directory permissions

Sebastian Popovic shared this question 1 month ago
Answered

Hello!

When I chmod directories to 755 or 775 I get an error and useresponse won't work.

As you probably know this poses a security issue and I'm not keen at all to keep directories (and/or files) at 777.

Is there a solution to this issue?

Thanks,

Robert

Comments (2)

photo
1

Hi Sebastian,

The solution is to make the owner of folder and files to be apache user like www-data or other name used for apache user

photo
1

Thanks!