I'm mounting a windows share as follows:
sudo mount -t cifs //192.168.178.49/public -o users,username=name,dom=domain,password=pword /mnt/nas
Then I'm trying to create a simple file with some basic text:
touch /mnt/nas/me.txt
And get an error, however, the file is created (contains 0B of data though):
touch: cannot touch ‘me.txt’: Permission denied
With sudo it works flawless. How can I allow my current user to write data to the share? Is there a mount option?