Link to home
Start Free TrialLog in
Avatar of rdejean
rdejean

asked on

NFS: different uid/gids

Hello all,

I'm trying to mount a mode 770 dir. I finally got it working with a
anongid option, but still having a problem.  NFS is mapping the numeric
UIDs on the server to username UID's on the client, and they have
different uid/gid's.  How can i fix this??!  Ideally, i want to mount it
read only, and have all the files appear(to the clent) to be owned by
root.  This is the only dir i want to export, so really have no other use
for the map daemon.

Here's the exports from the server:
/web   cs(ro,all_squash,anonuid=65534,anongid=103)

I'm mounting with: mount cyclops:/web /cyclops

Any suggestions?!

TIA,
Ray
Avatar of cnbishop
cnbishop

Why do you want all files to appear as owned by root?  If you want to map UIDs and mount RO, then I may have the solution.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial