Skip to content

How do i stop bacularis from overwriting my config #23

Answered by ganiuszka
mrtn-r asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Martin,

Yes, I understand your need. There exists solution but not on the Bacularis level but on the system level. You can remove the writable bit from Bacula config files permissions for the web server/PHP user, or just change the ownership to the bacula user, or root user or to any other user different than web server/PHP user. The only important is that the web server user and Bacula components can read them.

Alternatively you can use this one line patch that will protect you agains writing to all Bacula config files at once:

iff --git a/Common/Modules/ConfigBacula.php b/Common/Modules/ConfigBacula.php
index c839540..2797dbf 100644
--- a/Common/Modules/ConfigBacula.php
+++ b/Comm…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mrtn-r
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mrtn-r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants