Version: 4.2.6
Hello,
I can mount the NFS share from my Linux, but have no permission as user.
I created a user msm, permission for share /Download is RW, applied to all subfolders.
User and group permission for Download is Read/Write for users "admin" and "msm".
NFS-Settings are ALLS_QUASH to UID of msm. Allowed IPs are *.
/etc/exports is now:
Code: Select all
[~] # cat /etc/exports
"/share/HDA_DATA/Download" *(rw,async,no_subtree_check,insecure,all_squash,anonuid=500,anongid=100)
[~] # ls -al /share/HDA_DATA/Download
drwxrwxrwx 3 admin administ 4096 Mar 16 10:32 ./
drwxrwxrwx 32 admin administ 4096 Dec 1 14:36 ../
drwxrwx--- 2 admin administ 4096 Jan 23 2018 @Recycle/
-rwxrwx--- 1 admin administ 3268147200 Nov 28 2015 backup.iso*
[~] # grep msm /etc/passwd
msm:x:500:100:Linux User,,,:/share/homes/msm:/bin/sh
[~] # grep msm /etc/group
users:x:101:msm
On the Linux client it looks like:
Code: Select all
$ ls -al /mnt/lan/Download/
total 5641828
drwxrwxrwx 3 root root 4096 16. Mär 10:32 .
drwxr-xr-x 9 root root 0 17. Mär 07:12 ..
-rwxrwx--- 1 root root 3268147200 28. Nov 2015 backup.iso
$ mount |grep Download
nas:/Download on /mnt/autofs/lan/Download type nfs (rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.8.200,mountvers=3,mountport=30000,mountproto=udp,local_lock=none,addr=192.168.8.200)
$ md5sum /mnt/lan/Download/backup.iso
md5sum: /mnt/lan/Download/backup.iso: Permission denied