mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-04 08:04:39 -04:00
Added a new function: check_perms().
This commit is contained in:
1 parent
c6fbd563d8
commit
18d7e9f46e
1 file changed
+4
-1
+4
-1
@@ -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