English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Solution to the error 'Operation not permitted' when MacOS cannot mount NFS

Solution to the error 'Operation not permitted' when MacOS cannot mount NFS

After the newly installed Openfiler enabled nfs, use the graphical interface of the Macbook to

Finder--> Go to--> Connect to server

Unable to connect.

First tried to mount itself on the server, no problem, so the problem may be on the Macbook client.

Open the terminal on the Macbook:

sh-3.2# showmount -e 10.0.0.55
Exports list on 10.0.0.55:
/home                10.0.0.0/24
sh-3.2# mount -t nfs 10.0.0.55:/nfsdata /home
mount_nfs: /home: Operation not permitted
# Try again with a reserved port
sh-3.2# mount -o resvport 10.0.0.55:/nfsdata ttt
sh-3.2# ls ttt/
Documents ebook images music
# OK

Too lazy to think why, just do it directly on the server/etc/Add the insecure parameter to the exportfs file

For example:

/nfsdata 10.0.0.0/24(rw,root_squash,no_all_squash,sync,insecure)

Thank you for reading, I hope it can help everyone. Thank you for your support of this site!

You may also like