I mounted a shared drive from my qnap qts. I even opened it all the way up to allow “guest access right: full access”. I am unable to write/delete items on that shared path. Here’s how it’s mounted on my client, and here’s how it looks in my /etc/fstab:
`/// on /mnt/smb type cifs (rw,relatime,vers=3.1.1,cache=strict,upcall_target=app,username=,uid=1000,forceuid,gid=1000,forcegid,addr=,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1,_netdev,x-systemd.automount)`
`///drive/ /mnt/smb/ cifs credentials=/etc/samba/cred-smb,iocharset=utf8,uid=1000,gid=1000,_netdev,nofail,x-systemd.automount 0 0`
The user I’m using does have read/write access.