Blame SOURCES/0004-logrotate-3.14.0-man-page-su.patch

d54235
From 893ab396daffebfe5bb97e9fcf0adbd7fda1b828 Mon Sep 17 00:00:00 2001
d54235
From: Kamil Dudka <kdudka@redhat.com>
d54235
Date: Fri, 18 Jan 2019 16:10:56 +0100
d54235
Subject: [PATCH] logrotate.8: encourage admins to use the `su` directive
d54235
d54235
... to rotate files in directories that are directly or indirectly in
d54235
control of non-privileged users.  Originally reported in the following
d54235
pull request:
d54235
d54235
https://github.com/logrotate/logrotate/pull/235
d54235
d54235
Closes #236
d54235
d54235
Upstream-commit: 3e170c0609a18e0bb5fd7f647cb877221d576456
d54235
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
d54235
---
d54235
 logrotate.8.in | 4 +++-
d54235
 1 file changed, 3 insertions(+), 1 deletion(-)
d54235
d54235
diff --git a/logrotate.8.in b/logrotate.8.in
d54235
index 56c4a32..ee26821 100644
d54235
--- a/logrotate.8.in
d54235
+++ b/logrotate.8.in
d54235
@@ -575,7 +575,9 @@ user/group (usually root). \fIuser\fR specifies the user name used for
d54235
 rotation and \fIgroup\fR specifies the group used for rotation. If the
d54235
 user/group you specify here does not have sufficient privilege to make 
d54235
 files with the ownership you've specified in a \fIcreate\fR instruction, 
d54235
-it will cause an error.
d54235
+it will cause an error.  If logrotate runs with root privileges, it is
d54235
+recommended to use the \fBsu\fR directive to rotate files in directories
d54235
+that are directly or indirectly in control of non-privileged users.
d54235
 
d54235
 .TP
d54235
 \fBtabooext\fR [+] \fIlist\fR
d54235
-- 
d54235
2.21.3
d54235