I'd been using Debian for ages, but had hardware issues where certain devices (mostly audio devices) never worked. I switched to Ubuntu 22.04 recently and set up my user with the same uid and gid as the user on my NAS. However, I am unable to edit files on the NAS.
fstab
#192.168.10.10:/volume1/share /media/nas nfs4 rw,hard,rsize=8192,nconnect=16,wsize=8192,timeo=14,vers=4 0 0192.168.10.10:/volume1/share /media/nas nfs auto,rw,rsize=8192,wsize=8192,timeo=14,intr
The top commented out entry was the one I used on Debian, and the bottom is the current one I am playing with. Most things I read are showing similar options to use. I can browse and view files, I just cannot write.
Synology NAS IDs
uid=1026(user1) gid=1026(user1) groups=1026(user1)
Ubuntu IDs
uid=1026(user1) gid=1026(user1) groups=1026(user1),24(cdrom),100(users)
I'm sure I am doing something obviously wrong but nothing I find via Google has helped!
My latest attempt has everything owned by admin:users and chmod 664 which seems to work via SSH but not when I use Ubuntu Desktop to browse the paths. It thinks folders are files :(
Update 1:So doing a chmod 755
instead seems to have solved the file/folder issue on the desktop. Is this the best way though to do this and have all files owned by admin:users
??