Permission denied running a shell script provided in the pre-build setup of STMCUBEIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-27 1:01 AM
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
- Labels:
-
STM32CubeIDE
-
STM32F4 Series
-
X-Cube-SBSFU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-31 4:46 AM
Hi @ADani​,
Can you check the file permission on test.sh? Do you have execute permission on this file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-31 4:47 AM
Exactly which project are you using? Please give us the path inside the package..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-27 12:02 PM - edited ‎2023-11-20 9:23 AM
I'm getting the same error, here is my output for "ls -l":
prebuild.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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-07 1:54 AM
Dropped the project since it was too difficult to customize for a individual board. Thanks all for the reply.
