richardphibel / rpms / dnf

Forked from rpms/dnf 2 years ago
Clone

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

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