当前位置: 移动技术网 > IT编程>移动开发>IOS > MacOS无法挂载NFS Operation not permitted错误解决办法

MacOS无法挂载NFS Operation not permitted错误解决办法

2019年07月24日  | 移动技术网IT编程  | 我要评论

马呈祥,火龙洞地图,爱情真善美下载

macos无法挂载nfs operation not permitted错误解决办法

新装的openfiler开启nfs之后,用macbook的图形界面通过

finder-->前往-->连接服务器

无法连接。

先在服务器上自己挂自己试了一下,没有问题,说明问题可能在macbook客户端上。

在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

#使用保留端口再试一下

sh-3.2# mount -o resvport 10.0.0.55:/nfsdata ttt

sh-3.2# ls ttt/

documents  ebook    images   music

#可以了

也懒得想为什么了,直接在服务器上的/etc/exportfs文件中加入insecure参数

例如:

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

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网