diff options
Diffstat (limited to 'db-functions')
-rw-r--r-- | db-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions index 20a3267..d91a7f2 100644 --- a/db-functions +++ b/db-functions @@ -426,7 +426,7 @@ set_repo_permission() { if [[ -w ${dbfile} ]]; then local group=$(/usr/bin/stat --printf='%G' "$(dirname "${dbfile}")") - chgrp "$group" "${dbfile}" || error "Could not change group of %s to %s" "$dbfile" "$group" + chgrp "$group" "${dbfile}" || error "Could not change group of %s to %s" "$dbfile" "$group" chgrp "$group" "${filesfile}" || error "Could not change group of %s to %s" "$filesfile" "$group" chmod g+w "${dbfile}" || error "Could not set write permission for group %s to %s" "$group" "$dbfile" chmod g+w "${filesfile}" || error "Could not set write permission for group %s to %s" "$group" "$filesfile" |