Bug 1388145
| Summary: | katello-backup changes ownership of existing directories when used as destination. | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Martijn ten Heuvel <mtenheuv> | |
| Component: | Backup & Restore | Assignee: | Christine Fouant <cfouant> | |
| Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | low | |||
| Version: | 6.2.2 | CC: | aperotti, bbuckingham, cfouant, daniele, ehelms, jcallaha, mmccune, zhunting | |
| Target Milestone: | Unspecified | Keywords: | PrioBumpField, Triaged | |
| Target Release: | Unused | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | katello-3.0.0-17 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1426396 (view as bug list) | Environment: | ||
| Last Closed: | 2017-05-01 13:55:35 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1377636 | |||
| Bug Blocks: | 1353215, 1426396 | |||
|
Description
Martijn ten Heuvel
2016-10-24 15:07:15 UTC
The solution for https://bugzilla.redhat.com/show_bug.cgi?id=1377636 solves this issue. Please add verifications steps for this bug to help QE verify Verification steps: - Choose an existing directory to back up to (i.e. /tmp/backup), look at its ownership values - Create a backup as root pointing at that existing directory (i.e. # katello-backup /tmp/backup) - Verify the existing directory has its original ownership values (i.e. /tmp/backup ownership has not changed since the backup initiated) Verified on Sat 6.2.9-1, as katello-backup now dumps data into a subdirectory, the destination's ownership is not altered. Checked with /var/tmp: ~]# ll /var drwxrwxrwt. 4 root root 4096 Mar 24 08:19 tmp ... ~]# katello-backup --skip-pulp-content /var/tmp ... ~]# ll /var drwxrwxrwt. 5 root root 4096 Mar 24 08:23 tmp ~]# ll /var/tmp drwxrwx---. 2 root postgres 4096 Mar 24 08:23 katello-backup-2017-03-24T08:22:33-04:00 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1191 |