commit 44d10c59b69c7324eb63638c8dfcad649fac70ba Author: Elan Ruusamäe <g...@delfi.ee> Date: Thu Oct 13 17:14:50 2016 +0300
logrotate: add su directive error: skipping "/var/log/gitlab/production.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. gitlab.logrotate | 1 + 1 file changed, 1 insertion(+) --- diff --git a/gitlab.logrotate b/gitlab.logrotate index 996cd05..2ea5edb 100644 --- a/gitlab.logrotate +++ b/gitlab.logrotate @@ -9,6 +9,7 @@ minsize 1M sharedscripts + su root git olddir /var/log/archive/gitlab postrotate ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/d6a4e031ba3b9e2bde441c0866f74995982cb051 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit