From ed62ef409f25ac6c23663b0407fd687edbce69f2 Mon Sep 17 00:00:00 2001 From: SKP Date: Sun, 20 Jan 2019 13:00:04 +0100 Subject: [PATCH] using absolute paths in check_directory_owner() --- dist/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/setup.sh b/dist/setup.sh index b7b7bd5..592f1dd 100755 --- a/dist/setup.sh +++ b/dist/setup.sh @@ -531,6 +531,7 @@ check_directory_owner() { if [[ ''$d == '' ]]; then continue fi + d=$(realpath $d) if [[ -e $d ]]; then # is it mine and does it have rw ? # don't care about group rights