In the Dockerfile I added "sleep 300". After 300 seconds the build context directory will be deleted by Podman but before that an unprivileged user on the host has access to a file that has permissions 4777
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.16 Via RHSA-2025:16724 https://access.redhat.com/errata/RHSA-2025:16724
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:16729 https://access.redhat.com/errata/RHSA-2025:16729
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.12 Via RHSA-2025:17669 https://access.redhat.com/errata/RHSA-2025:17669
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.17 Via RHSA-2025:22265 https://access.redhat.com/errata/RHSA-2025:22265
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.13 Via RHSA-2025:22275 https://access.redhat.com/errata/RHSA-2025:22275