Bug 15089 - koha-dump set permissions correct
Summary: koha-dump set permissions correct
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-30 07:41 UTC by Muri Nicanor
Modified: 2016-06-21 21:37 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
patch for the koha-dump script (556 bytes, patch)
2015-10-30 07:41 UTC, Muri Nicanor
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Muri Nicanor 2015-10-30 07:41:19 UTC
Created attachment 44184 [details] [review]
patch for the koha-dump script

the koha-dump script sets the permissions for the sql dump, but not for the tar.gz. this patch fixes this.
Comment 1 Robin Sheat 2015-11-01 23:58:20 UTC
This deliberately isn't done as there's no reason to have the webserver able to read these files, generally. They contain server configs and database passwords, and so on so exposure of them should be kept very limited. The reason it's done for the database dump is that this permits users of hosted solutions to download their data at any time, but the $metadump file isn't really data.
Comment 2 Muri Nicanor 2015-11-09 18:01:43 UTC
ah, oke, good to know. i use rsync to backup those files to another server (logging in using the webserver user) but i can find another way to get the backups or set the permission ; )
marking as resolved