Avi Schwartz wrote:
Hi,
Having 4 computers on my small network, it becomes tedious to use ftp to move files around. I would like to start using nfs. I can export directories on one machine and mount them on another, but what I would like to do is limit who can do what. For example, I am exporting my home directory: squid:/home/avi seahorse(rw,root_squash)
I have two problems with this export:
1. Unless I specify the option 'user' in fstab, mount will not allow me to mount this share as a regular user. 2. If I set the fstab options to 'user', anyone can mount this share to the default mount point.
Is there a way to get around these problems?
I don't know of a way around the mount problem. My NFS partitions are usually not user-mountable. My understanding is that they are or aren't mountable by users in general, and there's no way to modify that. If you want to give selective permissions to read and write files, set the group permissions on the NFS server, and add that GID on the clients who will be using it. (For example, on my /archive mount I chowned the dir on the server to root.users, so just any user can write to it. If you want to be more selective, use (or create) a different group on both the server and clients, and add users to that group on the clients. -- Martin Jackson: mhjacks@nwa.quik.com ========================================= This Message Brought to You by SuSE Linux -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/