From 0035ac6cf2a13c3a49540fb70a43d9e39b262425 Mon Sep 17 00:00:00 2001 From: t470p Date: Thu, 9 May 2024 20:21:45 -0500 Subject: [PATCH] u --- scripts/99_deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index dbcedd2..60ac73f 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -62,8 +62,8 @@ deploy_file() { # if the target path ends with a slash, we have a directory if [[ "$_trg_path" == */ ]] then - chown ${user}:${user} ${_trg_path}* - chown ${user}:${user} ${_trg_path}.* + # https://serverfault.com/questions/156437/how-to-chown-a-directory-recursively-including-hidden-files-or-directories + chown ${user}:${user} ${_trg_path}.[^.]* else chown ${user}:${user} ${_trg_path} fi