Mapping user ID when mounting an NFS volume

Discussion in 'Mac OS X Lion (10.7)' started by NanoNyrd, Jun 14, 2012.

  1. NanoNyrd macrumors regular

    Joined:
    Dec 1, 2011
    #1
    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.
     
  2. ScoobyMcDoo macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #2
    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.
     
  3. NanoNyrd thread starter macrumors regular

    Joined:
    Dec 1, 2011
    #3
    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. :)
     
  4. ScoobyMcDoo macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #4
    Well, if you ever figure it out, please post the answer back here as it would be very handy for me also.
     

Share This Page