]> 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)
committerDavide Franco <packager@dflc.ch>
Sun, 28 Feb 2021 15:01:00 +0000 (15:01 +0000)
bacula/platforms/rpms/redhat/bacula.spec.in

index 20aa07c6b07e579d66ad72711bb10496be1a9b19..4f076e711c518bea1fa163e0535169b8b392ece3 100644 (file)
@@ -887,7 +887,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
@@ -1256,7 +1257,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