|Jun 20, 2007, 01:11 PM||#1|
NFS - operation not permitted
I tried to mount an NFS on to my Mac Tiger OS X (10.4.9) by using "sudo mount -t nfs /path_to_NFS ./directory_in_my_home" and the resultant terminal response is "mount_nfs: /Users/vishwa: Operation not permitted"
I have already tested this on a linux desktop and it works fine without any problems. Also tried changing target directories on my Mac, but ended up with the same result.
Any ideas on this?
|Jun 26, 2007, 12:12 AM||#2|
We must be insecure together!
So, I was having the same problem.
It turns out the the Darwin default is to assume the nfs'ing will take place on an "insecure" port, i.e. >1024.
The suggested solution is to add "insecure" to the export options.
For instance, I have
In the /etc/exports file.
|Oct 28, 2010, 01:57 PM||#4|
NFS - operation not permitted, another solution
This thread is quite old, but I recently experienced the same problem with OS X 10.4.11 while trying to mount a NFS share on my DNS-323.
My solution was to mount with "-P" to force the use of a reserved port number, as described in mount_nfs(8) page. The command was
$> sudo mount_nfs -P <host>:<remote shared dir> <local mount point>
This solution probably addresses the secure/insecure port issue mentioned by hacksawSA, but I don't know enough to confirm that. It's also slightly less intrusive in that you don't have to modify /etc/exports.
|Oct 28, 2010, 02:16 PM||#5|
This command is expected to be executed by the mount(8) command. Direct use of mount_nfs to mount NFS file systems is strongly discouraged because there is little practical benefit of using it
instead of mount(8).
|Nov 27, 2011, 10:13 PM||#6|
Since I need the -P switch, now what?
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Error 1 operation not permitted, terminal not working||SuperHero87||OS X||4||May 20, 2014 02:04 AM|
|how to change NFS share name as displayed in OSX without reconfiguring NFS server?||mrjayviper||OS X Mavericks (10.9)||0||May 5, 2014 03:07 AM|
|Resolved: NSFileManager copyItemAtPath Operation not permitted||Tex-Twil||iPhone/iPad Programming||14||Sep 25, 2013 08:41 AM|
|Are animated GIFs permitted in ads?||FloatingBones||Site and Forum Feedback||6||May 21, 2013 06:04 PM|
|Networking Issue -- Outbound Connections Not Permitted||NightStorm||Mac OS X 10.7 Lion||1||Jul 2, 2012 09:40 AM|
All times are GMT -5. The time now is 04:48 AM.