mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-04-26 17:20:17 -04:00
Added a new function: check_perms().
This commit is contained in:
@@ -65,11 +65,14 @@ printmsg() {
|
||||
echo "$1"
|
||||
}
|
||||
|
||||
|
||||
rsync_ls_lR() {
|
||||
find "$@" -print | sort | sed 's/ /\\ /g' | xargs "$TOOLDIR/tls"
|
||||
}
|
||||
|
||||
check_perms() {
|
||||
"$TOOLDIR/tls" "$1" | grep "^-$2" >/dev/null
|
||||
}
|
||||
|
||||
rsync_getgroups() {
|
||||
"$TOOLDIR/getgroups"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user