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
09a018ea5a
commit
e878141f34
2
yadm
2
yadm
@ -667,7 +667,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