From: Florian Westphal Date: Sun, 22 Jun 2025 13:19:39 +0000 (+0200) Subject: test: shell: nat_ftp: test files must be world-readable X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c06e4221d529130eed47ab613183b1d6ac3685c1;p=thirdparty%2Fnftables.git test: shell: nat_ftp: test files must be world-readable 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 --- diff --git a/tests/shell/testcases/packetpath/nat_ftp b/tests/shell/testcases/packetpath/nat_ftp index 738bcb98..1eb4714a 100755 --- a/tests/shell/testcases/packetpath/nat_ftp +++ b/tests/shell/testcases/packetpath/nat_ftp @@ -43,6 +43,7 @@ INFILE="$WORKDIR/infile" OUTFILE="$WORKDIR/outfile" PCAP="$WORKDIR/tcpdump.pcap" +umask 022 mkdir -p $WORKDIR assert_pass "mkdir $WORKDIR"