diff --git a/tests/p_tftp-server/20-tftp-server_put-test.sh b/tests/p_tftp-server/20-tftp-server_put-test.sh index b8f48dd..29a4136 100755 --- a/tests/p_tftp-server/20-tftp-server_put-test.sh +++ b/tests/p_tftp-server/20-tftp-server_put-test.sh @@ -15,6 +15,10 @@ chmod 777 $TFTP_DIR echo "t_functional_test" > put_test touch $TFTP_DIR/put_test chmod 666 $TFTP_DIR/put_test + +# Fix selinux bool +setsebool tftp_anon_write 1 + tftp 127.0.0.1 -c put put_test cat $TFTP_DIR/put_test | grep -q 't_functional_test'