EMCECS / nfs-client-java

Native Java NFS client
Apache License 2.0
70 stars 33 forks source link

Mount failed, permission deny #50

Open Jasons001 opened 1 year ago

Jasons001 commented 1 year ago

i encounter this error: mount failure, server: 100.88.99.9, export: /mnt/share, nfs version: 3, returned state: 13, when i run jar to visit nfs-server shared file with work user privilege,how can i solve this problem, i access nfs-server shared file with root user privilege successfully. But I have to execute this jar with work user privileges, please tell me how to do this

Jasons001 commented 1 year ago

I get, need to change the value of /etc/exports, the configuration before modification is /mnt/share 10.6.0.19/24(rw,sync,insecure,no_subtree_check,no_root_squash) then change 10.6.0.19/24 to *, that means every host can access this server