02-14-2021, 09:22 PM
I tried all combinations of "vers" with and without "sec=ntlm". Dosen't help! The files are still unreadable as root.
By using ver=default, I can read the version with 'mount -v' that is used between pi and NAS. It ist 3.1.1!
I now tried to add uid=1000 or gid=1000 - with the same result. I can't read the mounted files as user 'pi' or 'root'.
By using ver=default, I can read the version with 'mount -v' that is used between pi and NAS. It ist 3.1.1!
Code:
mount -v
//192.168.1.50/m4chine/EXTERNAL/test on /mnt/NAS/m4chine type cifs (ro,relatime,vers=3.1.1,cache=strict,username=username,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.50,file_mode=0777,dir_mode=0777,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1)
I now tried to add uid=1000 or gid=1000 - with the same result. I can't read the mounted files as user 'pi' or 'root'.