1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-13 13:03:58 +00:00

Set perms recursively

This commit is contained in:
Ross Smith II 2019-02-08 14:19:47 -08:00
parent 09a018ea5a
commit e878141f34

2
yadm
View File

@ -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
}