From da718df7df785c4c9b2aeaeed622ccbf4397d03a Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 4 Aug 2012 14:33:30 +0200 Subject: [PATCH] Bug 8437 - fix koha-dump configuration tar permissions This allows backups created using Debian package to show up automatically in web interface and makes permissions of database files consistent. --- debian/scripts/koha-dump | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/debian/scripts/koha-dump b/debian/scripts/koha-dump index 2fe9edd..133e7b0 100755 --- a/debian/scripts/koha-dump +++ b/debian/scripts/koha-dump @@ -65,4 +65,7 @@ tar -C / -czf "$metadump" \ "var/lib/koha/$name" \ "var/log/koha/$name" +chown "root:$name-koha" "$metadump" +chmod g+r "$metadump" + echo "Done." -- 1.7.2.5