[PLUG] NFS Permission Q

Derek Loree drl at drloree.com
Wed Mar 12 12:09:02 UTC 2003


On Wed, 2003-03-12 at 11:29, Kyle Accardi wrote:
> Okay, it's been awhile and I can't find the answer in the places I've looked 
> (duh).
> 
> Problem is that a directory mounted via fstab (or manually by root) gets a 
> uid/gid that doesn't otherwise exist on the client.  Therefore, no one has 
> access.
> 
> Added no_root_squash to prove that my method is otherwise working.  And root 
> can now `ls`, but this is to be for user home dirs.
> 
> I understand, that ideally, the user (let's call him `test`) should have the 
> same uid/gid on both machines, but I don't want to do this.  I also don't 
> want him squashed to anonymous.  Is this a job for NIS? or is there an 
> easier way?  (Maybe NIS is easy...)
> 
> (From what I gather, automount wouldn't help this problem)

Sounds like you need to run the network mounts through SAMBA.  It is
very easy to munge uid/gid for each "shared" resource.

I find that samba mounts between linux boxes is pretty stable, even if
the "server" goes down, the mount will usually just work when the
machine comes back up.

Good Luck

Derek Loree






More information about the PLUG mailing list