aboutsummaryrefslogtreecommitdiff
path: root/firma
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-07 13:54:40 +0000
committerrhatto <rhatto>2006-10-07 13:54:40 +0000
commit021ce963bffc38412bcb61dde93a15a932a02495 (patch)
tree2f0b77d8e73d71b7a6ed0b4a90129c40f16a0ea2 /firma
parent9a134f980e48e4aebeba939332e55185b1f345f3 (diff)
downloadfirma-021ce963bffc38412bcb61dde93a15a932a02495.tar.gz
firma-021ce963bffc38412bcb61dde93a15a932a02495.tar.bz2
small fix on CheckListPermissions
Diffstat (limited to 'firma')
-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