Bug #20650
closedFail when backing up to a directory postgres cannot write to
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1483033
Description of problem:
Currently Backup needs to be written to either /tmp or /var/tmp (preferred). Writing to any other root directory fails because Postgres cannot write files to those locations.
We should have a failure with warning if user selects a directory to which Postgres doesn't have access.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. run # katello-backup /any/directory/not/tmp
Actual results:
Failure without any reasoning other than tar file creation fails.
Expected results:
Fail with note to write to /var/tmp or /tmp so that Postgres has write access
Additional info:
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello-packaging/pull/505 added
Updated by Eric Helms over 7 years ago
- Tracker changed from Feature to Bug
- Translation missing: en.field_release set to 295
Updated by Brad Buckingham over 7 years ago
- Target version changed from 208 to 213
Updated by Brad Buckingham over 7 years ago
- Target version changed from 213 to 217
Updated by Christine Fouant over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-packaging|223ed87f5c3d88a8b1fdd8825391c172ea6133db.