I use Linux as my primary desktop at work with a Windows environment. Here’s how I mount my Windows based shares which provides ability to write:
$ sudo mount -t cifs //WindowsServer/Share /media/LocalShare -o credentials=/home/username/.smbpw,uid=1000
So the critical pieces here are the -o credentials=/home/username/.smbpw I created the .smbpw file (chmod 600 for security) the content of the file is simply:
Then the , uid=1000 This number needs to match your user on your Linux machine.
$ cat /etc/passwd
and find your username. It will have a number assigned (usually starts with 1000 on Red Hat based distros). If your /etc/passwd shows 1003 then use ,uid=1003 in the command above.
I usually write a shell script (batch file) that maps 3 or 4 windows shares for me that I use every day.
I hope this helps.