From: Vsevolod Stakhov Date: Fri, 17 Oct 2025 12:49:06 +0000 (+0100) Subject: [Test] Fix data directory permissions for corpus download X-Git-Tag: 3.14.0~67^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=554117f41ee316c3ae004e107dc91b25796550ac;p=thirdparty%2Frspamd.git [Test] Fix data directory permissions for corpus download Create data directory with proper permissions before downloading corpus Fixes: curl: (23) Failure writing output to destination --- diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 24d5201666..4a55945dff 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -199,7 +199,11 @@ jobs: fi echo "Downloading corpus from: $CORPUS_URL" - mkdir -p data + + # Create data directory with proper permissions + sudo mkdir -p data + sudo chmod 777 data + curl -L "$CORPUS_URL" -o data/corpus.zip # Extract corpus