mirror of https://github.com/digint/btrbk
Update ssh_filter_btrbk.sh to use readlink
Replace realpath with readlink in allowed commands. Commit 796b6bd
substituted readlink for realpath in file "btrbk"; this commit propagates the change to ssh_filter_btrbk.sh.
pull/104/head
parent
66c36187ed
commit
f717cb53ba
|
@ -102,7 +102,7 @@ while [[ "$#" -ge 1 ]]; do
|
||||||
-t|--target)
|
-t|--target)
|
||||||
allow_cmd "btrfs receive"
|
allow_cmd "btrfs receive"
|
||||||
# the following are needed if targets point to a directory
|
# the following are needed if targets point to a directory
|
||||||
allow_cmd "realpath"
|
allow_cmd "readlink"
|
||||||
allow_exact_cmd "cat /proc/self/mounts"
|
allow_exact_cmd "cat /proc/self/mounts"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue