The goal is to write to a synology NAS without sudo. SAMBA permissions are read / write with the user mySambaName. Mount command required sudo:
sudo mount -t cifs //192.168.x.y/home /home/username/nas -o username=mySambaName
Reading from the mounted directory returns the contents of the NAS, however, my observation was that sudo is required to write a text file:
sudo vi /home/username/nas/text.txt
The command chown -c username:username /home/username/nas
failed to change the owner/group from root to username.
What needs to be done be able to write without sudo permission?
Is the solution to somehow not use sudo to mount and somehow configure /etc/fstab?