File and directory permissions

Answered Sebastian P. 6 years ago

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

Replies (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!

Leave a Comment
 
Attach a file