On 06/ 3/16 10:45 PM, Escarpment Biosphere Conservancy wrote: > Hi all, > > I run a small business server (Univention Corporate Server) which is based on > Debian. > > As I would like to backup my server to a NAS drive (segate goflex home), I > mounted the network folder to my bareos storage (/home/bareos/storage) via > cifs. In addition, the directory is writable by user bareos. "ls -la > /home/bareos/storage" returns > > total 4 > drwxr-xr-x 2 root root 0 Jun 3 16:13 . > drwxrwxrwx 3 bareos bareos 4096 Jun 3 16:14 .. > > When I try to run a backup of my sytem though, the following error message > occurs: > > <serverid>-sd JobId <number> Warning: label.c:374 Open device "FileStorage" > (/home/bareos/storage) Volume "Full-0001" failed: ERR=dev.c:652 Could not > open: /home/bareos/storage/Full-0001, ERR=Permission denied > > SELinux and Apparmor are also not implmented. > > Any ideas? > > Kind regards, > > EBC >
chown bareos:bareos /home/bareos/storage ? The above shows that '.' is owned by root:root e.g. /home/bareos/storage the directory above you changed to 777 which I would fix. So the following should get you going: # chmod 750 /home/bareos # chown bareos:bareos /home/bareos/storage # chmod 750 /home/bareos/storage Seems you tried fixing the wrong directory. Also what tends to go wrong is that the mount directory has the wrong mode so I would also make sure that you unmount the disk and check that directory to have mode 755. -- Marco van Wieringen [email protected] Bareos GmbH & Co. KG Phone: +49-221-63069389 http://www.bareos.com Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, P. Storz, M. v. Wieringen -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
