]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
bootstrap: chown the whole cloned repo, not just the subfolders
authorAndrew Bartlett <abartlet@samba.org>
Fri, 6 May 2022 01:29:05 +0000 (13:29 +1200)
committerJule Anger <janger@samba.org>
Mon, 24 Oct 2022 05:26:14 +0000 (07:26 +0200)
Modern git versions have started to notice the possible security issue.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15193

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
[abartlet@samba.org adapted from commit c771d197eeebf2b01d46451cc51b698a99502935
 with new sha1sum]

.gitlab-ci-main.yml
bootstrap/.gitlab-ci.yml
bootstrap/sha1sum.txt

index c9864707de4f933648380b3fbfa8b090b4f918dc..2c7548e41d63fab8a990ede42f1522bef98bb23b 100644 (file)
@@ -42,7 +42,7 @@ variables:
   # Set this to the contents of bootstrap/sha1sum.txt
   # which is generated by bootstrap/template.py --render
   #
-  SAMBA_CI_CONTAINER_TAG: fcac3e6e4fef4e0bef6c6e364c35e6e192b23add
+  SAMBA_CI_CONTAINER_TAG: d541fb969b486082ab6113df5945debfc5ff95c6
   #
   # We use the ubuntu1804 image as default as
   # it matches what we have on sn-devel-184.
index 33534f5f1ddf4aadb7881d598f0b3ac459cde05b..168272e9872760930aab12d8c0469b17f1893223 100644 (file)
@@ -47,7 +47,7 @@ services:
     diff -u bootstrap/sha1sum.txt /tmp/sha1sum-template.txt
     # run smoke test with samba-o3 or samba-fuzz
     docker run --volume $(pwd):${samba_repo_root} --workdir ${samba_repo_root} ${ci_image_name} \
-        /bin/bash -c "sudo chown -R samba:samba ./** && export PKG_CONFIG_PATH=/usr/lib64/compat-gnutls34/pkgconfig:/usr/lib64/compat-nettle32/pkgconfig && script/autobuild.py ${SAMBA_CI_TEST_JOB} --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase"
+        /bin/bash -c "sudo chown -R samba:samba ${samba_repo_root} && export PKG_CONFIG_PATH=/usr/lib64/compat-gnutls34/pkgconfig:/usr/lib64/compat-nettle32/pkgconfig && script/autobuild.py ${SAMBA_CI_TEST_JOB} --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase"
     docker tag ${ci_image_name} ${ci_image_path}:${SAMBA_CI_CONTAINER_TAG}
     docker tag ${ci_image_name} ${ci_image_path}:${timestamp_tag}
     # We build all images, but only upload is it's not marked as broken
index 5716af2a68971dc8182442f24e6f888b8a42a3f3..0d8cc2224b2b178c5c7b0972419611725024d3ec 100644 (file)
@@ -1 +1 @@
-fcac3e6e4fef4e0bef6c6e364c35e6e192b23add
+d541fb969b486082ab6113df5945debfc5ff95c6