Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-19662 on syncable exports, listing file may have bad permissions if umask is too restrictive
  3. SAT-25212

[QE-auto] on syncable exports, listing file may have bad permissions if umask is too restrictive

XMLWordPrintable

    • Sprint 121, Sprint 125, Sprint 126, Sprint 127, Sprint 133

      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.

      QE Tracker for https://issues.redhat.com/browse/SAT-19662
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2233162

            vsedmik@redhat.com Vladimír Sedmík
            satellite-focaccia-bot Focaccia Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: