barcus / bareos

Docker image for Bareos
https://hub.docker.com/r/barcus
MIT License
116 stars 55 forks source link

ERR=Permission denied for backup jobs using bareos-fd #71

Closed daemex closed 3 years ago

daemex commented 4 years ago

Hi there, hope you are doing well and staying safe! We are trying to use the bareos-fd image to backup files with Bareos. We mount the directories we want to backup from the host computer to the container and then we run the job. For almost every file, we recieve the following error: ERR=Permission denied and nothing gets backed up. We changed the init.d/bareos-fd file to run with root user and group root and still nothing. We can't change the permissions on the folders itself because they are on the host and that can mess something up. Is there a better way we can do this or is there a fix for the permission denied error? Thank you so much!

barcus commented 4 years ago

Hi there. Do you speak about reading file or writing file ?