Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-19662

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
    • Moderate
    • None

      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.

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

                Created:
                Updated:
                Resolved: