Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-26078

oc-mirror creates index image incorrectly with non-default umask

XMLWordPrintable

    • No
    • CLID Sprint 247, CLID Sprint 248
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When using oc-mirror on a system with a non-default umask the /configs directory is created with the incorrect permissions.

      How reproducible:

      Always

      Steps to Reproduce:

      1. umask 0077
      2. run oc-mirror to sync to disconnected mirror registry
      3. podman run disconnected-registry/redhat/redhat-operator-index:v4.14
      4. check /configs directory permissions    

      Actual results:

      drwx------. 114 root   root   8192 Jan  4 15:03 configs

      Expected results:

      drwxr-xr-x. 114 root   root   8192 Jan  4 15:03 configs

      Additional info:

      This seems related to openshift/oc-mirror issue #502

            luzuccar@redhat.com Luigi Mario Zuccarelli
            jkincl@redhat.com Jason Kincl
            ying zhou ying zhou
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: