Koha-clms/debian/scripts
Mirko Tietgen e906a737f2 Bug 14564: Set permissions on configuration backups
This patch sets the group and group read permissions on
configuration backups, so that they can be downloaded
via the web staff interface.

Test plan:
0. Apply the patch
1. cp debian/scripts/koha-dump /usr/sbin/koha-dump
2. koha-run-backups --days 2 --output /var/spool/koha
3. Note *.tar.gz backups in /var/spool/koha/kohadev
now have root:kohadev-koha ownership and 640 permissions
4. vi /etc/koha/sites/kohadev/koha-conf.xml
5. Set backup_db_via_tools and backup_conf_via_tools to 1
6. echo 'flush_all' | nc -q 1 memcached 1121
7. koha-plack --restart kohadev
8. Go to http://localhost:8081/cgi-bin/koha/tools/export.pl
9. Click on "Export configuration"
10. Choose a file
11. Click Download configuration
12. Note that *.tar.gz file downloaded correctly

Signed-off-by: David Cook <dcook@prosentient.com.au>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6982680ae9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2020-12-28 15:39:57 +01:00
..
koha-create Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-create-dirs
…
koha-disable Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-dump Bug 14564: Set permissions on configuration backups 2020-12-28 15:39:57 +01:00
koha-dump-defaults
…
koha-elasticsearch Bug 26448: Don't overwrite commit parameter passed to koha-elasticsearch 2020-09-18 11:49:29 +02:00
koha-email-disable
…
koha-email-enable
…
koha-enable
…
koha-foreach
…
koha-functions.sh Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-indexer
…
koha-list
…
koha-mysql
…
koha-mysqlcheck
…
koha-passwd
…
koha-plack
…
koha-rebuild-zebra
…
koha-remove Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-reset-passwd
…
koha-restore
…
koha-run-backups Bug 21111: Add --exclude-indexes to koha-run-backups 2020-11-04 12:59:34 +01:00
koha-shell
…
koha-sip
…
koha-sitemap
…
koha-translate
…
koha-upgrade-schema
…
koha-upgrade-to-3.4
…
koha-worker Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-z3950-responder
…
koha-zebra
…