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