From: Boris Ranto Date: Fri, 5 Aug 2016 09:14:53 +0000 (+0200) Subject: logrotate: Run as root/ceph X-Git-Tag: v10.2.4~40^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=de672a09f1e2b29de1e0e6e15d26be99315c41b9;p=ceph.git logrotate: Run as root/ceph Currently, we run the logrotate scripts as ceph/ceph but that way we cannot rotate the scripts created by qemu (they are root/ceph and 644). The original su line was introduced in commit 73d7bed9 because logrotate complained that the directory was writable by a non-root group and it needed a su line to supress that error. This way, we keep the group settings and we can access and rotate the qemu logs as well. Signed-off-by: Boris Ranto --- diff --git a/src/logrotate.conf b/src/logrotate.conf index 061965b5efa9..6bd1a98ff250 100644 --- a/src/logrotate.conf +++ b/src/logrotate.conf @@ -8,5 +8,5 @@ endscript missingok notifempty - su ceph ceph + su root ceph }