Webserver(PHP), NFS, Samba Folder Permission


Firesh Bakhda

Hi All,

I have a little problem that i am tangle into.

Server #1
I have a webserver script that writes to a folder that is mounted using NFS to another server folder.

Server #2
I have NFS and Samba running.
I have folder permission for the shared folder as nobody:nogroup with 755 permission.
I have this folder shared via NFS and Samba with RW permission.

The Problem:
I have the Server #1 writting to the folder as it requires too but its a mount point to the Server #2.
At the same time I have clients only allow to do a RO as they dun have to write.

How can i segregate the permission separately for the same folder ?

Members online