 |
 |
NFS troubles...
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jan 2004
Status:
Offline
|
|
OK, so I'm trying to export my ~/ over my LAN via NFS, to be read by a Debian box. I've set up my exports, when I type "showmount -e" it demonstrates the following...
Exports list on localhost:
/Users/harry/ Everyone
Yet when I try to mount it I keep getting "Permission Denied" from the OS X/NFS box and from the Debian box. I have the appropriate ports open (111 and 2049) but still no joy. Permissions are set so everyone can read the my ~.
Times like this I wish Rendezvous/Zeroconf/OpenTalk was more ubiquitous...
Anyone who can help gets my gratitude, for what it's worth.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status:
Offline
|
|
Any error messages you get in Mac OS X's log files? I've not played with NFS on the Mac, but what about re-exporting the NFS shares again using exportfs (if that is at all used)?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: ~/
Status:
Offline
|
|
The UID on the Debian system needs to be the same as the UID that owns the directories on your Mac. If for instance if your UID on OSX is 501 the user on the Debian system needs to be 501 as well or the share won't be mounted. Using NFS as an ad hoc sharing system is a PITA because of issues like this.
If you only need to share a few files with someone I'd suggest using FTP or Samba to share your files. They will be much easier to use than NFS. NFS works well in large managed environments but is simply a pain on smaller networks.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Location: Amboy Navada, Canadia.
Status:
Offline
|
|
I had no luck with NFS on OS X. No idea why either, it wasn't hard on linux or openbsd (can they mount network shares as filesystems yet? augh...). Didn't have any luck with Windows Services of UNIX, I didn't learn all about NFS and the whole translation "you need a third server" thing messed me up.
Samba is pretty easy. Has no trouble with sharing to windows. It's very easy on Linux as well.
|

This insanity brought to you by:
The French CBC, driving antenna users mad since 1937.
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Originally posted by Graymalkin:
The UID on the Debian system needs to be the same as the UID that owns the directories on your Mac. If for instance if your UID on OSX is 501 the user on the Debian system needs to be 501 as well or the share won't be mounted. Using NFS as an ad hoc sharing system is a PITA because of issues like this.
If you only need to share a few files with someone I'd suggest using FTP or Samba to share your files. They will be much easier to use than NFS. NFS works well in large managed environments but is simply a pain on smaller networks.
I don't think that you are right about the UID deal... the UID needs to be the same if you want to be able to write to the share (assuming it is world readable). He should at least be able to mount the share.
What are you typing in the finder to do so? I mount my NFS share all the time w. OS X... try:
nfs://IPaddress/share/point
In the connect to server dialog.
BTW, NFS supports long filenames but *not* OS X metadata.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Earth
Status:
Offline
|
|
You probably need to use the insecure option for the export, or use resvport on the client to make sure it uses a secured port.
(Last edited by pat++; Aug 25, 2004 at 05:11 PM.
)
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |