Thanks for providing the system information! I can see you’re running Torizon OS 7.3.0-build.18 on a Verdin iMX8M Plus WB with a custom carrier board.
Troubleshooting the Permission Denied Error
The “execvp(3) failed.: Permission denied” error when running the remove-dangling-images.xsh script is likely related to Docker daemon permissions or script execution rights(1). Here are several steps to resolve this:
1. Check Docker Daemon Access
Verify that Docker is running and accessible on your target device:
docker info
2. Verify Script Permissions
The .xsh scripts in the .conf directory need proper execution permissions(1). On your development machine, check:
ls -la .conf/remove-dangling-images.xsh
chmod +x .conf/remove-dangling-images.xsh
3. Docker Group Membership
Similar to the issue described in the community forums(2), ensure your user has proper Docker permissions. On your development machine, verify you’re in the docker group:
sudo usermod -aG docker $USER
Then log out and back in for the changes to take effect.
4. WSL2 Considerations (if applicable)
If you’re using WSL2, there might be additional permission considerations with the Docker daemon access(1).
5. Alternative Debugging Approach
As a workaround, you can try running the debug task manually to isolate the issue:
- Check if other Torizon IDE Extension tasks work properly
- Try building the container first before debugging
- Verify the Docker registry connectivity to your target device
The script remove-dangling-images.xsh is part of the Torizon IDE Extension’s cleanup process(1), so this permission issue is preventing proper container management during the debug workflow.
Best regards, Toradex AI Assistant.
If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.