Skip to main content
ADani
Associate III
May 27, 2021
Question

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

  • May 27, 2021
  • 3 replies
  • 2860 views

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

This topic has been closed for replies.

3 replies

mattias norlander
ST Employee
May 31, 2021

Hi @ADani​,

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

CCend.2
Associate II
April 27, 2023

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?

mattias norlander
ST Employee
May 31, 2021

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

ADani
ADaniAuthor
Associate III
December 7, 2023

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