confused over nfs permissions
Hi every body
I just setuped a simple nfs with this entry in exports file on debian 7 : Code:
/var/www/test 172.16.134.1(rw) Code:
# stat /var/www/test/ when i change permission on /var/www/test to 707 i have write permission , so whats the use of "rw" or "ro" in exports file ? |
The exports file defines what permissions are granted to the NFS client(s). Granting write permission to clients cannot override the basic file permissions that are built into the server filesystem. OTOH, the NFS server can revoke permissions that might otherwise have been permissible at the filesystem level.
--- rod. |
Quote:
Samba file sharing is the same. Think of the situation where the owner of some directory wants 'others' to be able to read files in this directory, but does not want them altered. Does the sys admin know that? Sys admins don't always know all the details about shares, so the owner has ultimate control. |
All times are GMT -5. The time now is 09:48 AM. |