Added a new function: check_perms().

This commit is contained in:
Wayne Davison
2006-02-03 17:28:03 +00:00
parent c6fbd563d8
commit 18d7e9f46e

View File

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