]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
test: shell: nat_ftp: test files must be world-readable
authorFlorian Westphal <fw@strlen.de>
Sun, 22 Jun 2025 13:19:39 +0000 (15:19 +0200)
committerFlorian Westphal <fw@strlen.de>
Sun, 22 Jun 2025 13:19:39 +0000 (15:19 +0200)
Directory and test need to be readable, with a default umask of 077
this test fails because vsftp can't open the curl-requested file.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/packetpath/nat_ftp

index 738bcb9808782953b37b67ffa406636aaef63cc6..1eb4714a6e5c816b04b7e37d12d6dfecc4af4f89 100755 (executable)
@@ -43,6 +43,7 @@ INFILE="$WORKDIR/infile"
 OUTFILE="$WORKDIR/outfile"
 PCAP="$WORKDIR/tcpdump.pcap"
 
+umask 022
 mkdir -p $WORKDIR
 assert_pass "mkdir $WORKDIR"