cancel
Showing results for 
Search instead for 
Did you mean: 

Permission denied running a shell script provided in the pre-build setup of STMCUBEIDE

ADani
Associate III

Hello all,

I'm working on SBSFU for the STM32F4 controller. A shell script has to be provided in the pre-build option of STMCUBEIDE. But while building the project I get the following error.

c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_1.4.0.202007081208/tools/bin/sh: ../test.sh../..: Permission denied

4 REPLIES 4
mattias norlander
ST Employee

Hi @ADani​,

Can you check the file permission on test.sh? Do you have execute permission on this file?

mattias norlander
ST Employee

Exactly which project are you using? Please give us the path inside the package..

I'm getting the same error, here is my output for "ls -l":


_legacyfs_online_stmicro_images_0693W00000biyx9QAA.pngprebuild.sh seems to have the correct permissions but STM32CubeIDE is still giving me "permission denied" when I try to run it through my makefile. Any suggestions?

ADani
Associate III

Dropped the project since it was too difficult to customize for a individual board. Thanks all for the reply.