Project

General

Profile

Actions

Bug #36689

closed

Ensure permission on listing file is 644 during syncable exports

Added by Joniel Pasqualetto about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

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
Actions #2

Updated by Partha Aji about 1 year ago

  • Project changed from Hammer CLI to Katello
Actions #3

Updated by Lucy Fu about 1 year ago

  • Triaged changed from No to Yes
Actions #4

Updated by Lucy Fu about 1 year ago

  • Category set to Inter Server Sync
  • Target version set to Katello 4.11.0
Actions #5

Updated by The Foreman Bot about 1 year ago

  • Assignee set to Chris Roberts
Actions

Also available in: Atom PDF