www-data is unable to write to an NFS share

Posted by Bastian on Server Fault See other posts from Server Fault or by Bastian
Published on 2012-04-13T09:44:22Z Indexed on 2012/04/13 11:33 UTC
Read the original article Hit count: 265

Filed under:
|
|

On Debian Squeeze, I created an NFS share with these options rw,sync,no_root_squash,no_subtree_check,insecure and on the other Debian Squeeze I can successfully mount it and read write with root, but this share is intended to be used by Apache. I changed the permission to 777 just to make sure. And still, the www-data user can read, create files but not write to them! It does not sound to me like the typical permissions problem, maybe something related to NFS, a lock problem that I am not aware of. Any idea is welcome.

© Server Fault or respective owner

Related posts about linux

Related posts about debian