[packages/gitlab-ce] logrotate: ensure proper owner

glen glen at pld-linux.org
Mon Jan 23 17:51:55 CET 2017


commit 7b8dea0b0b6886c9aa3be9649d0e6806150ac0f2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 23 18:51:45 2017 +0200

    logrotate: ensure proper owner

 gitlab.logrotate | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gitlab.logrotate b/gitlab.logrotate
index c64a8ff..f89efaa 100644
--- a/gitlab.logrotate
+++ b/gitlab.logrotate
@@ -9,7 +9,8 @@
 	minsize 1M
 	sharedscripts
 
-	su root git
+	su git git
+	create 640 git git
 	olddir /var/log/archive/gitlab
 
 	postrotate
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/7b8dea0b0b6886c9aa3be9649d0e6806150ac0f2



More information about the pld-cvs-commit mailing list