X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=bacula.spec;h=45702285b816862c4e8ecf7cd5a428378b708922;hb=2264d68c55a1a152d56df9d6397d1ded1148494b;hp=ed4d3e951df8c374546e2752d18a1f63bef434a5;hpb=8b9ffa697f4d31068fec8883785e2ef72974c36c;p=packages%2Fbacula.git diff --git a/bacula.spec b/bacula.spec index ed4d3e9..4570228 100644 --- a/bacula.spec +++ b/bacula.spec @@ -574,7 +574,7 @@ sed -e 's/gnome-console/wx-console/g;s/Console/Wx Console/g' \ %endif %if %{with bat} -install src/qt-console/.libs/bat $RPM_BUILD_ROOT%{_sbindir} +install src/qt-console/.libs/bat $RPM_BUILD_ROOT%{_bindir} install scripts/bat.desktop $RPM_BUILD_ROOT%{_desktopdir} %endif @@ -972,8 +972,10 @@ fi %doc LICENSE %{_pixmapsdir}/%{name}.png %{_desktopdir}/bat.desktop -%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bat.conf -%attr(755,root,root) %{_sbindir}/bat +# Do not make this file world-readable or any user will get full access to the +# backup system +%attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bat.conf +%attr(755,root,root) %{_bindir}/bat %{_mandir}/man1/bat.1* %{_docdir}/%{name} %endif