Bug #36689
closedEnsure permission on listing file is 644 during syncable exports
Description
Description of problem:
When exporting on syncable format, the "listing" file is supposed to have permissions 644. If the user running the export command has an umask too restrictive, the permissions of the listing file will follow.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Set umask to 0077
2. export a repository/cv/library on syncable format
3. check the permissions of the file
Actual results: file is created with permissions based on the umask
Expected results: file should have 644 regardless of umask for the user running the command
Additional info: Users that do the export and simply copy/rsync the exported content keeping permissions may have issues on the disconnected side while trying to enable repositories.
Updated by Partha Aji about 1 year ago
- Status changed from New to Closed
- Pull request https://github.com/Katello/hammer-cli-katello/pull/903 added
Updated by Partha Aji about 1 year ago
- Project changed from Hammer CLI to Katello
Updated by Lucy Fu about 1 year ago
- Category set to Inter Server Sync
- Target version set to Katello 4.11.0