-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
4.14
-
No
-
CLID Sprint 247, CLID Sprint 248
-
2
-
False
-
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
- depends on
-
OCPBUGS-31536 `oc mirror --config` command failed with exit status 1
- Closed
-
OCPBUGS-33575 [release-4.15] `oc mirror --config` command failed with exit status 1
- Closed
- is documented by
-
OCPBUGS-32231 Documentation should show that to use oc-mirror a umask of 0022 is required
- Closed
- is duplicated by
-
OCPBUGS-27125 oc-mirror generates unusable catalog images when STIG umask set
- Closed