mounting restricted share for all users
Hi,
I have a NAS on which I created a share with CIFS that has restricted access (that is: you need a username and password to access it). The reason is that I don't want any user in the network to mount this share.
On one computer I have Bacula installed to run backups. I would Bacula to store the backups on the NAS share. So I mount the share in fstab. Works fine but the share directory is not read+write for all users but only for the root (since the mount was done for the root).
The line in fstab:
\\readynas\backup /readynas cifs user,rw,password=thePassword,username=bacula,umask=017 0 0
How can I have Bacula (running as user Bacula) get read+write access to the directory representing the share?
I tried to remove access control to the share but the directory representing the mount remains readonly...
Any suggestions? I searched the forum but could not find an answer...
|