@@ -, +, @@ - Look at backup files in /var/spool/koha// - Notice that permissions for .tar.gz files are -rw------- - Notice ownership of .tar.gz files are root:root - Apply this patch - Make sure the changes in the patch are applied to the script you run when you run "sudo koha-dump". This might include copying debian/scripts/koha-dump to /usr/sbin/koha-dump, if you are on a gitified setup. - Run the modified koha-dump - Notice that both backup files dated today are now -rw-r----- and ownership is root:-koha --- debian/scripts/koha-dump | 2 ++ 1 file changed, 2 insertions(+) --- a/debian/scripts/koha-dump +++ a/debian/scripts/koha-dump @@ -92,6 +92,8 @@ dump_instance() "etc/apache2/sites-enabled/$instancefile" \ "var/lib/koha/$name" \ "var/log/koha/$name" + chown "root:$name-koha" "$metadump" + chmod g+r "$metadump" [ "$quiet" = "no" ] && echo "Done." } --