Solved

NFS: different uid/gids

Posted on 1997-07-19
2
1,782 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

626 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