BPI-R2PRO-BSP Image build

Hello everyone tired build Debian image in this repo https://github.com/BPI-SINOVOIP/BPI-R2PRO-BSP/tree/main/debian . When I tried to run RELEASE=buster TARGET=base ARCH=armhf ./mk-base-debian.sh command , i got permission denied and i used sudo chmod 777 * ,after that i got
rm -f linaro-buster-alip-* rm -rf config ./mk-base-debian.sh: line 33: ./configure: Permission denied

How can i solve it best regards Note I use Ubuntu 22.04.1 LTS Python 3.9