From f717cb53bad0afa1b3b9f33de93d622f6035f0c7 Mon Sep 17 00:00:00 2001 From: TZdyrski Date: Thu, 18 Aug 2016 11:45:07 -0700 Subject: [PATCH] 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. --- ssh_filter_btrbk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh_filter_btrbk.sh b/ssh_filter_btrbk.sh index 2ddbf6e..196bb69 100755 --- a/ssh_filter_btrbk.sh +++ b/ssh_filter_btrbk.sh @@ -102,7 +102,7 @@ while [[ "$#" -ge 1 ]]; do -t|--target) allow_cmd "btrfs receive" # the following are needed if targets point to a directory - allow_cmd "realpath" + allow_cmd "readlink" allow_exact_cmd "cat /proc/self/mounts" ;;