Solved

NFS: different uid/gids

Posted on 1997-07-19
2
1,729 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 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

12 Experts available now in Live!

Get 1:1 Help Now