The set-up: Linux Machine via CIFS -> Synology_Disk_Station @ File_ShareA "myaccount" is set as the admin account on the Synology
A Ubuntu 18.04 machine at a remote site I've mounted a file share on a Synology with CIFS using the following (edited) line in my /etc/fstab file.
//SYNOLOGY/file_shareA/ /home/myaccount/file_shareA cifs credentials=/home/myaccount/.smbcred
This mounts great and is fully navigable from the Ubuntu machine... however the permissions are all set to root and this forces me to elevate to sudo to manipulate the files.
the ls -l command in the File_ShareA looks as follows:
drwxr-xr-x 2 root root 0 Jun 11 14:27 'Directory One'
-rwxr-xr-x 1 root root 483165473 Jul 7 14:08 zip-file.tar.bz2
drwxr-xr-x 2 root root 0 Mar 3 17:08 Directory_2
So my question is, How do I mount this volume as "myaccount" and not as "root". To my knowledge the /etc/fstab file requires root permission to work and mount the file share.
Thanks in advance!