Hello Vaughan,

Baculum does not set file permissions automatically. It needs to be
done manually. I know that you use Baculum but to solve it you can use
Bacularis documentation where this case is described:

https://bacularis.app/doc/brief/troubleshooting.html#permission-denied-error-when-saving-bacula-configuration

Good luck!

Best regards,
Marcin Haba (gani)

On Wed, 18 Oct 2023 at 02:12, Vaughan Wickham <v...@zen.net.au> wrote:
>
> Hello,
>
>
>
> I have tried to update the VolumeRetention period in Pools and encountered 
> the following error when trying to save the change.
>
>
>
> Error 1000: Internal error. Warning file_put_contents 
> (/opt/bacula/etc/bacula-dir.conf) failed to open stream: Permission denied
>
>
>
> It is clear that baculum doesn’t have write access to update the conf file.
>
>
>
> I had to provide the file path during the setup: 
> /opt/bacula/etc/bacula-dir.conf
>
>
>
> So, I am sure that the path is correctly configured and I am guessing that 
> this is a permissions issue.
>
>
>
> Do I need to add all the conf files into the sudoers file?: 
> /etc/sudoers.d/baculum
>
>
>
> Regards,
>
> Vaughan
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to