From bf04cbdac71e1819f294238d2420662893853546 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 23 Jul 2021 12:36:59 +0200 Subject: [PATCH] TT#132409 Check /ngcp-data/tmp dir and mysql and www-data subdirs These should exist and match the expected metadata. Change-Id: Idca92b65482ea8f2b47d8cd097c71ceece41f317 --- templates/130_filesys-ngcp.yaml.tt2 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/templates/130_filesys-ngcp.yaml.tt2 b/templates/130_filesys-ngcp.yaml.tt2 index ad7d7d2..63cdc53 100644 --- a/templates/130_filesys-ngcp.yaml.tt2 +++ b/templates/130_filesys-ngcp.yaml.tt2 @@ -320,3 +320,24 @@ file: group: root linked-to: /ngcp-data/logs filetype: symlink + + /ngcp-data/tmp: + exists: true + mode: "1777" + owner: root + group: root + filetype: directory + + /ngcp-data/tmp/mysql: + exists: true + mode: "0750" + owner: mysql + group: mysql + filetype: directory + + /ngcp-data/tmp/www-data: + exists: true + mode: "0770" + owner: root + group: www-data + filetype: directory