From 691388de5b8f4c6fb288c78a03fa89f5e12422cd Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Mon, 4 May 2020 14:23:28 +0300 Subject: [PATCH] TT#47113 Change owner of nginx logs Now nginx uses rsyslog for logging but all logs processed by rsyslog have root:adm ownership so change the test accordingly. Change-Id: I902f6a588ea60c5a0412a1c0a59fc74a2e36faa8 --- templates/135_filesys-logfiles.yaml.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/135_filesys-logfiles.yaml.tt2 b/templates/135_filesys-logfiles.yaml.tt2 index 248117b..6216b0f 100644 --- a/templates/135_filesys-logfiles.yaml.tt2 +++ b/templates/135_filesys-logfiles.yaml.tt2 @@ -125,7 +125,7 @@ command: stderr: - '!/./' - "if test -e /var/log/ngcp/nginx/; then find /var/log/ngcp/nginx/ -type f ! -user www-data; fi": + "if test -e /var/log/ngcp/nginx/; then find /var/log/ngcp/nginx/ -type f ! -user root; fi": exit-status: 0 stdout: - '!/./'