Mac and Linux compatibility
Larry Grover
lgrover at zoominternet.net
Sun Sep 4 03:10:39 UTC 2005
Peter Lieverdink wrote:
> Ben Novack wrote:
>
>>On 9/3/05, Larry Grover <lgrover at zoominternet.net> wrote:
>>
>>
>>>Charles Yao wrote:
>>>
>>>
>>>>Is mac and ubuntu compatible? Is it possible to share files and printers?
>>>>
>>>>Charles
>>>>
>>>
>>>It's possible to share files using samba or nfs, but we don't use
>>>either. I will only use samba if I have to cater to a windows pc, and
>>>we don't have one of those in the house. In theory, OSX supports nfs,
>>>but I've never been able to get nfs working well between linux and OSX
>>>(I've spent hours trying -- OSX is the problem, not linux/ubuntu).
>>
>>
>>I didn't have luck with NFS either, but Samba works fine; I can browse
>>my Linux shares perfectly from my Macs, and vice-versa. Quick to set
>>up, too.
>>
>>---BHN
>>
>
>
> I use NFS between the Linux server and OSX/Linux clients. It works fine,
> provided you set up user id mapping on the Linux server for the OSX
> machines. Ubuntu starts with user 1000, OSX with 500.
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
More information about the ubuntu-users
mailing list