Following this guide I was able to get my Samba share to mount on my Ubuntu 12.04 system. I can navigate the folders just fine. However I cannot create a directory nor create a file. I get the following error:
mkdir: cannot create directory `ServerBackups': Permission denied
Looking at the directory permissions, I see
drwxr-xr-x 1 root root 0 Aug 14 22:34 stora
I have tried to change that to root:sambashare with no errors with sudo chown :sambashare stora/
, however when I confirm it completed, it is back to root:root. This is what I added to my /etc/fstab
:
\\10.0.1.20\mylibrary /media/stora cifs credentials=/etc/samba/user,noexec 0 0
Mounting the drive works fine. I want a regular user (primarily me) to be able to write to this mount.
What could I be missing?