Hello Matthias, The Baculum API to work uses web server that, in case using config module, requires access to read and write Bacula config files. You can set appropriate permissions to these files or you can manipulate user or/and group or you can change web server user or group. Unfortunately this step is to do by users, because I don't know ideal solution here.
Best regards. Marcin Haba (gani) On 28 May 2018 at 13:23, Matthias Leopold <matthias.leop...@meduniwien.ac.at> wrote: > Hi, > > i just started to explore baculum. One of the first things i tried was > editing config files on API hosts. This only works when setting permissions > of the config files to 666, else i get > > Error 1000: Internal error. [Warning] > file_put_contents(/etc/bacula/bacula-fd.conf): failed to open stream: > Permission denied (@line 56 in file > /usr/share/baculum/htdocs/protected/Common/Class/ConfigBacula.php). > > Is this really the way this is supposed to work? I'm using apache httpd and > created /etc/sudoers.d/baculum as stated on > http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html > > thx > matthias > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > 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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users