Add "insecure" to export options on NFS server.

0

Hello,

I am running into an issue mounting our NFS server on some osx devices, with the error can't mount /<name> from <ip> onto /Users/mac: Operation not permitted

Did some googling and one suggested solution was to add “insecure” to the export options on the NFS server side, located in the /etc/exports file on the server.

However, I seem to be unable to get into the files on the EC2 server we're hosting it on. It won't allow me to log in as root and admin just takes me to a management console for the storage gateway which doesn't have any of the normal commands. cd, sudo, ls, etc are all unavailable.

How can I get into the server to change this setting? Or if there's a better way to fix this issue, i'm all ears.

Thanks!

已提問 5 年前檢視次數 1486 次
2 個答案
0
已接受的答案

Hi,

This looks like a permissions issue. Are you trying to mount the NFS share to a home directory? Try changing the mount point to an empty directory where you have write permissions. You may need to use "sudo".

Cheers,
JK

AWS
已回答 5 年前
0

Thank you, it was indeed a permissions issue. We were trying to mount the fileshare to ~

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南