Mapping user ID when mounting an NFS volume

NanoNyrd

macrumors regular
Original poster
Dec 1, 2011
218
0
Hi,

I occationally need to mount a Unix NFS volume on my Macbook Pro. Is there a way to map the user ID? The volume mounts just fine, but as the UID is not mapped, I cannot edit the files.
 

ScoobyMcDoo

macrumors 65816
Nov 26, 2007
1,189
34
Austin, TX
I do this on the export. May not be the best way to do it, but it works for me. Here is a line from the /etc/exports file:


Code:
/home/me *(fsid=0,anonuid=383,anongid=100,crossmnt,rw,root_squash,all_squash,sync,no_subtree_check,insecure)
The "383" id I used is my ID on the server.
 

NanoNyrd

macrumors regular
Original poster
Dec 1, 2011
218
0
Thanks for your reply!

Unfortunately, that is not an option. First, I cannot change the server; second, it exports to a number of Linux boxes where my UID is the same as on the server.

I suspect that MacOS does not support this, but one can always hope. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.