From: rhatto Date: Sat, 7 Oct 2006 13:54:40 +0000 (+0000) Subject: small fix on CheckListPermissions X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=021ce963bffc38412bcb61dde93a15a932a02495;p=firma.git small fix on CheckListPermissions --- diff --git a/firma b/firma index cdabc4c..cba270f 100755 --- a/firma +++ b/firma @@ -1124,7 +1124,7 @@ function CheckListPermissions { # check and fix permissions on all files from $LIST_PATH to $USER.$GROUP if [ ! -z "$1" ]; then - folder="`basedir $1`" + folder="`dirname $1`" config="`basename $1`" for file in $config pubring.gpg pubring.gpg~ random_seed secring.gpg trustdb.gpg; do if CheckPermission $folder/$file; then