image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old February 6th, 2008, 01:24 AM
Registered User
 
Join Date: Mar 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
GoKyu is on a distinguished road
Problem with Mac NFS client -> Linux NFS Server

Hey all, I found out how to set up an NFS-mounted directory on my Linux box so that my Mac could read/write to/from it. (mount points on both systems are even the same: /mnt/NFS/Archive as the example.)

I went into Directory Utility, under the Mounts tab to add the mount point at what I thought was the final step (nfs://Jazz/mnt/NFS/Archive -> /mnt/NFS/Archive), and it did say the lookup was successful and added everything ok.

The only problem I'm having now is the permissions - I can't copy or move anything over into that directory. Does NFS use the "other" permission bits when going across a network like that? It's been a few years since I ran Linux (about 3), so I know I could do chmod 777 on that directory (or would I need to do it for the entire set of directories?), but wouldn't that ALSO allow someone to just delete the directory outright? (I always had my directories set where I was a member of that group so I could do chmod 775, and not leave everyone with full permissions to do whatever they want...

This is really my first time ever setting up NFS, so it's a bit of a learning curve, but I think it's almost working...

Thanks for any help,

-Bryan
Reply With Quote
  #2  
Old February 6th, 2008, 02:04 AM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Posts: 7,391
Thanks: 0
Thanked 2 Times in 2 Posts
Giaguara is on a distinguished road
Is the uid/gid different on you linux box?
Can you mount the share from Terminal?
Is port 2049 open for TCP and UDP on your Mac?
__________________
MacBook Pro + Mac mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #3  
Old March 7th, 2008, 01:51 AM
Macubundows User
 
Join Date: Mar 2008
Location: SF Peninsula
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Eiríkr is on a distinguished road
UID / GID mapping is probably the most common hiccup for NFS sharing. Samba sharing is all about the username, but NFS bases its authentication on the numerical IDs. I wrote a howto for setting up NFS on an Ubuntu machine, combined with how to get Avahi (i.e. Linux-style Bonjour / zeroconf) to broadcast your NFS so it will automount in your Mac without having to set up a hard mount point for it (and then possibly having the Finder go into spinning beach ball limbo if you're away from your home or office and accidentally happen to click the share). Have a look over here, and let me know if you have any questions.

Cheers,

Eiríkr

Last edited by Eiríkr; March 7th, 2008 at 09:24 AM. Reason: Fixing link
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 10:53 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.