chantra / rpms / dnf

Forked from rpms/dnf 2 years ago
Clone

Blame SOURCES/0010-Make-log-rotated-permissions-match-initial-log-permissions-RhBug-1894344.patch

862ba9
From 04b1a90bb24b7e98d4e001c44f8b3f563ad5f0f6 Mon Sep 17 00:00:00 2001
862ba9
From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= <amatej@redhat.com>
862ba9
Date: Tue, 24 Nov 2020 14:31:21 +0100
862ba9
Subject: [PATCH] Make rotated log file (mode, owner, group) match previous log
862ba9
 settings (RhBug:1894344)
862ba9
862ba9
https://bugzilla.redhat.com/show_bug.cgi?id=1894344
862ba9
---
862ba9
 etc/logrotate.d/dnf | 2 +-
862ba9
 1 file changed, 1 insertion(+), 1 deletion(-)
862ba9
862ba9
diff --git a/etc/logrotate.d/dnf b/etc/logrotate.d/dnf
862ba9
index b96c6ff9b4..0ce2629f1b 100644
862ba9
--- a/etc/logrotate.d/dnf
862ba9
+++ b/etc/logrotate.d/dnf
862ba9
@@ -3,5 +3,5 @@
862ba9
     notifempty
862ba9
     rotate 4
862ba9
     weekly
862ba9
-    create 0600 root root
862ba9
+    create
862ba9
 }