This commit is contained in:
t470p
2024-05-09 20:40:02 -05:00
parent 17eccba5e2
commit 5b92589be4

View File

@@ -62,7 +62,7 @@ deploy_file() {
# if the target path ends with a slash, we have a directory
if [[ "$_trg_path" == */ ]]
then
echo "(ignore potential \"chown: cannot access\" error, that will occur if there are no dot files in the directory)"
echo "(ignore potential \"chown: cannot access\" error, which will occur if there are no dot-files in the directory)"
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}.[^.]*