Apache write permission varies by server with same permissions
Hi Guys,
I have two servers with as far as I can see identical configuration. CloudLinux, CageFS, PHP (LSAPI).
Both servers have the following standard permissions for user accounts:
Apache on one of my servers finds these permissions acceptable to write to but the other doesn't. Can anyone give me any clue as to why this might be? I really need Apache to be able to write to file. I can only get it to work if I make the group nobody recurring with 0775 CHMOD value. That shouldn't be needed. Really grateful for any help.
/home/user 0711 user:user
/home/user/public_html 0750 user:nobody
/home/user/public_html/folder 0755 user:user
/home/user/public_html/file.txt 0644 user:userApache on one of my servers finds these permissions acceptable to write to but the other doesn't. Can anyone give me any clue as to why this might be? I really need Apache to be able to write to file. I can only get it to work if I make the group nobody recurring with 0775 CHMOD value. That shouldn't be needed. Really grateful for any help.
Please sign in to leave a comment.
Comments
0 comments