We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06da492 commit dfbf72dCopy full SHA for dfbf72d
src/cmd-build-with-buildah
@@ -89,6 +89,10 @@ build_with_buildah() {
89
90
# the config dir virtiofs mount is mounted ro; copy it to the tempdir
91
cp -r src/config/ "${tempdir}/src"
92
+ # Make sure there are no setgid/setuid bits in there.
93
+ # See e.g. https://github.com/coreos/fedora-coreos-tracker/issues/1003.
94
+ # This is analogous to the chmod we do in cmdlib.sh in the legacy path.
95
+ chmod -R gu-s "${tempdir}/src"
96
97
tmp_oci_archive_path=$(realpath "${tempdir}/out.ociarchive")
98
0 commit comments