mcci-catena/arduino-boards

Permissions are wrong on STM32 tools on macOS, Linux

Closed this issue · 6 comments

Up to and including 1.0.6 of the STM32 board package, the permissions in the release file were wrong when installing on macOS and Linux. It's possible that this is now fixed with the updated MCCI board support repo. But we should check 1.0.7, and if it's still broken, review permissions in the MCCI fork.

Confirmed that this is a problem with v1.0.7 on Linux. Builds work (so the compiler is all right) but permissions for the download tools are wrong.

The quick workaround:

cd ~/.arduino15/packages/mcci/tools/STM32Tools/2017.9.22-mcci/tools/linux
find . -type f | xargs file | grep 'Bourne-Again' | cut -d: -f1 | xargs chmod +x
find . -type f | xargs file | grep 'ELF' | cut -d: -f1 | xargs chmod +x

OK; moving this issue to mcci-catena/Arduino_Core_STM32#16; we'll close this when we release 1.0.8.

Fixed in v1.0.8.