]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix bug #2498 - Wrong mode for /etc/logrotate.d/bacula
authorDavide Franco <packager@dflc.ch>
Sun, 28 Feb 2021 15:01:00 +0000 (15:01 +0000)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:24 +0000 (09:03 +0100)
bacula/platforms/rpms/redhat/bacula.spec.in

index 103c934f32e9baff1d990fe851e649070574915f..85e314eabc0fc8ed73e35ccd9fdaebedd385e597 100644 (file)
@@ -895,7 +895,8 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt
 %attr(-, root, %{storage_daemon_group}) /etc/init.d/bacula-sd
 %endif
 
-/etc/logrotate.d/bacula
+%attr(644, root, root) /etc/logrotate.d/bacula
+
 %{logwatch_dir}/scripts/services/bacula
 %{logwatch_dir}/scripts/shared/applybaculadate
 %attr(-, root, %{daemon_group}) %config(noreplace) %{sysconf_dir}/bacula-dir.conf
@@ -1265,7 +1266,7 @@ fi
 /etc/init.d/bacula-fd
 %endif
 
-/etc/logrotate.d/bacula
+%attr(644, root, root) /etc/logrotate.d/bacula
 
 %attr(-, root, %{daemon_group}) %config(noreplace) %{sysconf_dir}/bacula-fd.conf
 %attr(-, root, %{daemon_group}) %config(noreplace) %{sysconf_dir}/bconsole.conf