NFS UID's

Peter Garrett peter.garrett at optusnet.com.au
Sat Feb 2 01:59:44 UTC 2008


On Fri, 01 Feb 2008 19:42:13 -0500
Stew Schneider <stew.schneider at gmail.com> wrote:

> Well, as usual I jumped without looking. I've got a server providing
> shared resources to several people via NFS but the UID's and GID's on
> the various boxes are different, so permissions are all messed up.
> 
> Short of making all the UID's on each box identical, is there another
> way to preserve permissions? If that's the best way, what's a CLI
> solution to dumping a list of UID's and logon names?
> 

Try a google search on

nfs uid mapping ubuntu

For example, from the first hit:

https://lists.ubuntu.com/archives/ubuntu-users/2005-September/047807.html

You might need a "mapping" file, and an entry in /etc/exports pointing to
it. Thus, you can "map", for example, a uid of 1000 to a uid of 500, or
whatever is needed.

Alternatively, [depending on your level of paranoia ;-) ], you might find
section 7.7 on the following page, ( referring to white space and its
effect on permissions in /etc/exports) of interest as well:

http://tldp.org/HOWTO/NFS-HOWTO/troubleshooting.html#SYMPTOM4


Peter
-- 
"INX Is Not X" Live CD based on Ubuntu 7.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080202/98118281/attachment.pgp>


More information about the ubuntu-users mailing list