Blame SOURCES/0005-logrotate-3.14.0-btmp-create-mode.patch

1a71b8
From a045dbad7370109a8ddf16a24090b8357a9b73fd Mon Sep 17 00:00:00 2001
1a71b8
From: Kamil Dudka <kdudka@redhat.com>
1a71b8
Date: Mon, 26 Aug 2019 15:13:16 +0200
1a71b8
Subject: [PATCH] examples/btmp: use create mode 0660
1a71b8
1a71b8
... to make the created file accessible by the utmp group.
1a71b8
1a71b8
Bug: https://bugzilla.redhat.com/1745330
1a71b8
Suggested-by: Steve Grubb
1a71b8
1a71b8
Closes #257
1a71b8
1a71b8
Upstream-commit: b1bddec3e73bff4282bcd4845f27ab7b375469da
1a71b8
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
1a71b8
---
1a71b8
 examples/btmp | 2 +-
1a71b8
 1 file changed, 1 insertion(+), 1 deletion(-)
1a71b8
1a71b8
diff --git a/examples/btmp b/examples/btmp
1a71b8
index 393ead5..0aa1ae1 100644
1a71b8
--- a/examples/btmp
1a71b8
+++ b/examples/btmp
1a71b8
@@ -2,6 +2,6 @@
1a71b8
 /var/log/btmp {
1a71b8
     missingok
1a71b8
     monthly
1a71b8
-    create 0600 root utmp
1a71b8
+    create 0660 root utmp
1a71b8
     rotate 1
1a71b8
 }
1a71b8
-- 
1a71b8
2.37.3
1a71b8