Fix permissions for 5.2.13

This commit is contained in:
Simone Caronni 2013-02-25 10:20:40 +01:00
parent 021eba846f
commit 906e82a518
4 changed files with 25 additions and 6 deletions

View File

@ -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 <negativo17@gmail.com> - 5.2.13-4
- Fix director reload command.
- Adjust to 5.2.13 permission changes.
* Fri Feb 22 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-3
- Renamed README to README.Redhat.

View File

@ -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

View File

@ -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

View File

@ -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