aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirma2
1 files changed, 1 insertions, 1 deletions
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