Mount a Windows Shared Drive on Linux with Read and Write Permissions
Edit /etc/fstab
and add the following:
//network/path /mnt/share-letter cifs rw,relatime,vers=2.0,cache=strict,uid=1000,noforceuid,gid=1000,noforcegid,addr=192.168.1.110,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,echo_interval=60,actimeo=1,closetimeo=1,user=myuser
Run $ mount /mnt/share-letter
Important parts:
uid = 1000
gid = 1000
This sets the windows user to the default user
vers=2.0
user=myuser [the user for the shared drive]