diff --git a/bacula.spec b/bacula.spec index fb29f87..8d518a0 100644 --- a/bacula.spec +++ b/bacula.spec @@ -3,7 +3,7 @@ Name: bacula Version: 5.2.13 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Cross platform network backup for Linux, Unix, Mac and Windows # See LICENSE for details License: AGPLv3 with exceptions @@ -755,7 +755,7 @@ fi %doc AUTHORS ChangeLog LICENSE SUPPORT %doc README.Redhat quickstart_* %config(noreplace) %{_sysconfdir}/logrotate.d/bacula -%dir %{_sysconfdir}/%{name} +%attr(755,root,root) %dir %{_sysconfdir}/%{name} %dir %{_libexecdir}/%{name} %{_sbindir}/btraceback %{_libexecdir}/%{name}/btraceback.dbx @@ -769,7 +769,7 @@ fi %files director %defattr(-,root,root,-) %doc updatedb examples/sample-query.sql -%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf +%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf %attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/query.sql %config(noreplace) %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf %config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf @@ -860,14 +860,14 @@ fi %files console %defattr(-,root,root,-) %{_sbindir}/bconsole -%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf +%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf %{_mandir}/man8/bconsole.8.* %if 0%{?fedora} || 0%{?rhel} >= 6 %files console-bat %defattr(-,root,root,-) %doc %{_datadir}/doc/bacula-console-bat-%{version}/* -%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/bat.conf +%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bat.conf %{_sbindir}/bat %{_mandir}/man1/bat.1.* %{_datadir}/applications/bacula-bat.desktop @@ -876,7 +876,7 @@ fi %files traymonitor %defattr(-,root,root,-) %{_sbindir}/bacula-tray-monitor -%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/tray-monitor.conf +%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/tray-monitor.conf %{_datadir}/applications/bacula-traymonitor.desktop %{_datadir}/pixmaps/bacula-tray-monitor.png %endif @@ -906,6 +906,10 @@ fi %changelog +* Mon Feb 25 2013 Simone Caronni - 5.2.13-4 +- Fix director reload command. +- Adjust to 5.2.13 permission changes. + * Fri Feb 22 2013 Simone Caronni - 5.2.13-3 - Renamed README to README.Redhat. diff --git a/quickstart_mysql.txt b/quickstart_mysql.txt index 2118632..4c370de 100644 --- a/quickstart_mysql.txt +++ b/quickstart_mysql.txt @@ -57,3 +57,8 @@ also install the magnetic tapes commands: # yum -y install mt-st mtx +8) To grant console access to regular users add the read permission +to the console configuration files. Remember that there is no authentication +check; so a user that can launch the console can perform any command. + +# chmod +r /etc/bacula/bconsole.conf /etc/bacula/bat.conf diff --git a/quickstart_postgresql.txt b/quickstart_postgresql.txt index 4c0afae..21c03f7 100644 --- a/quickstart_postgresql.txt +++ b/quickstart_postgresql.txt @@ -59,3 +59,8 @@ also install the magnetic tapes commands: # yum -y install mt-st mtx +8) To grant console access to regular users add the read permission +to the console configuration files. Remember that there is no authentication +check; so a user that can launch the console can perform any command. + +# chmod +r /etc/bacula/bconsole.conf /etc/bacula/bat.conf diff --git a/quickstart_sqlite3.txt b/quickstart_sqlite3.txt index 61f2b27..58c8e0e 100644 --- a/quickstart_sqlite3.txt +++ b/quickstart_sqlite3.txt @@ -54,3 +54,8 @@ also install the magnetic tapes commands: # yum -y install mt-st mtx +8) To grant console access to regular users add the read permission +to the console configuration files. Remember that there is no authentication +check; so a user that can launch the console can perform any command. + +# chmod +r /etc/bacula/bconsole.conf /etc/bacula/bat.conf