diff --git a/build.sh b/build.sh index 6338435..ae73ae4 100755 --- a/build.sh +++ b/build.sh @@ -75,4 +75,9 @@ do if [ -e ergogen/output/pcbs/${board}_autorouted.kicad_pcb ]; then ${container_cmd} run ${container_args} ghcr.io/inti-cmnb/kicad7_auto:latest kibot -b ergogen/output/pcbs/${board}_autorouted.kicad_pcb -c kibot/boards.kibot.yaml fi -done \ No newline at end of file +done + +# Docker runs as root and causes issues with file ownership +sudo chown $USER -R ergogen +sudo chown $USER -R freerouting +sudo chown $USER -R logs \ No newline at end of file