From 212558072f42f6366d25905542c47974dcab1f1f Mon Sep 17 00:00:00 2001 From: mazano Date: Sat, 15 Apr 2023 08:01:16 +0200 Subject: [PATCH] skip changing ownership of secrets folder (#421) --- scripts/env-data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/env-data.sh b/scripts/env-data.sh index 0c42f16..59ba0cb 100644 --- a/scripts/env-data.sh +++ b/scripts/env-data.sh @@ -549,7 +549,7 @@ function non_root_permission() { directory_checker "${dir_names}" fi done - services=("/usr/lib/postgresql/" "/etc/" "/var/run/" "/var/lib/" "/usr/bin" "/tmp" "/scripts") + services=("/usr/lib/postgresql/" "/etc/" "/var/run/!(secrets)" "/var/lib/" "/usr/bin" "/tmp" "/scripts") for paths in "${services[@]}"; do directory_checker $paths done