Mac and Linux compatibility

Larry Grover lgrover at zoominternet.net
Sun Sep 4 14:32:28 UTC 2005


Peter Lieverdink wrote:
> Larry Grover wrote:
>>I know this, I've tried this, and I've never gotten it to work properly.
>>
>>Here's what I've tried:
>>
>>(1) On the linux (ubuntu) server (192.168.1.101), export my home
>>directory.  In /etc/exports:
>>
>>/home/grover  \
>>192.168.1.0/255.255.255.0(ro,insecure,all_squash,anonuid=1000,anongid=1000)
>>
>>My username is grover, my uid is 1000 and my gid is 1000.
>>
>>(2) On the OSX client, mount the nfs share using the "finder":
>>
>>Go->Connect to Server
>>select "Favorite Server": nfs://192.168.1.101/home/grover
>>
>>After mouning the nfs share I have access to shared files from the
>>command line (terminal), but not from the "finder" (the OSX file
>>browser), when I try to access the mounted shared in the finder I get a 
>>pop-up window with an error message indicating that I do not have
>>sufficient access privileges.
>>
>>So my nfs-exported home directory is accessible on OSX from the command
>>line but not from the gui.  This is kind of interesting, and really
>>weird, but not very useful.
>>
>>Regards,
>>Larry
> 
> 
> Weird. With map file, it does work fine here (Network -> Servers ->
> server name -> share)
> 
> In my /etc/exports:
> # MacOS X (need map)
> /nfs/server \
> 10.10.42.83(rw,sync,no_root_squash,map_static=/etc/nfs/osx.map,insecure)
> 
> and /etc/nfs/osx.map:
> uid     0       0
> uid     1-99    -
> uid     65534   10000
> gid     0       0
> gid     1-49    -
> gid     80      100
> gid     70      1003
> gid     65534   10000
> 
> ie: I map the user's OSX gid (70) to their Linux gid (1003) and I don't
> worry about the UID, as these are shared folders only.
> 
> Note that you can't use nfs-kernel-server when using map_static, but
> need nfs-user-server.


I've never tried the user space nfs server, but I plan to now.

Thanks for the idea.

Regards,
Larry




More information about the ubuntu-users mailing list