Solved

NFS: different uid/gids

Posted on 1997-07-19
2
1,735 Views
Last Modified: 2010-05-19
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
0
Comment
Question by:rdejean
2 Comments
 

Expert Comment

by:cnbishop
ID: 1585668
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.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 1585669
This is not the server's responsibility but the clients.
mount must be told anyhow to use the requested uid/guid. See the
mount man-pages: Mount options for ext2  uid= gui=
0

Featured Post

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now