mirror of
https://github.com/TheLocehiliosan/yadm
synced 2025-06-13 13:03:58 +00:00
Set perms recursively
This commit is contained in:
parent
509b9d2c01
commit
4e295e3545
2
yadm
2
yadm
@ -797,7 +797,7 @@ function perms() {
|
|||||||
#; remove group/other permissions from collected globs
|
#; remove group/other permissions from collected globs
|
||||||
#shellcheck disable=SC2068
|
#shellcheck disable=SC2068
|
||||||
#(SC2068 is disabled because in this case, we desire globbing)
|
#(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
|
#; TODO: detect and report changing permissions in a portable way
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user