I have a shared directory on a Windows server and mounted it on Ubuntu 14.04 server with this command,
sudo mount -t cifs //192.168.0.137/data$ /mnt/data
I mounted the directory using sudo as the system did not allow me to mount from my Ubuntu user. The windows server doesn't need any username or password to access this directory.
Now the problem is, that only the root user can write files into this directory and I need all system users to write in this directory. I followed few articles but they weren't useful for cifs shares.
How should I proceed?