]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Fix data directory permissions for corpus download
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 17 Oct 2025 12:49:06 +0000 (13:49 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 17 Oct 2025 12:49:06 +0000 (13:49 +0100)
Create data directory with proper permissions before downloading corpus
Fixes: curl: (23) Failure writing output to destination
.github/workflows/integration-test.yml

index 24d5201666a715be569ab174c94fa3be053fa892..4a55945dffd245427a7e0250267e55cb6590f463 100644 (file)
@@ -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