From e878141f3464c299c6bcc42b3db4cd6a97cedc18 Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Fri, 8 Feb 2019 14:19:47 -0800 Subject: [PATCH] Set perms recursively --- yadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yadm b/yadm index e55a287..c6b38b2 100755 --- a/yadm +++ b/yadm @@ -667,7 +667,7 @@ function perms() { #; remove group/other permissions from collected globs #shellcheck disable=SC2068 #(SC2068 is disabled because in this case, we desire globbing) - chmod -f go-rwx ${GLOBS[@]} >/dev/null 2>&1 + chmod -R -f go-rwx ${GLOBS[@]} >/dev/null 2>&1 #; TODO: detect and report changing permissions in a portable way }