IOException: Cannot run program "": error=13, Permission denied
See original GitHub issueI recently had issue with mentioned exception:
java.io.IOException: Cannot run program "/tmp/extract-f77354d0-83fa-47e2-b7e1-47b3577bbf4eextractmongod": error=13, Permission denied`
...
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
As I commented here, I thought it’s Java version issue.
Unfortunately the issue came back - at least in the dockerized Jenkins 2.7.4. I never had such problems @ localhost.
The application I’m using embed.mongo for is a custom spring-boot starter (embed.mongo is used in it’s tests). Spring boot had version set to latest (1.50.5). when I reverted version for my tests to 1.50.3 and purged ~/.embedmongo
directory it started working fine again.
If you need any more info, please let me know.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Ask Question - Stack Overflow
Cannot run program "..../abc.exe": error=13, Permission denied ... Any suggestions on how to get this working? ... Probably also requires x ...
Read more >Getting error=13, Permission denied when using try ... - GitHub
Hi, Am using this awsome library for ffmpeg in java,i use the documeted code in github and am getting the following issue.
Read more >Help error=13, Permission denied - Tutorials & Examples
IOException : Cannot run program "/etc/openhab2/scripts/fritzboxprofile.sh" (in directory "."): error=13, Permission denied).
Read more >java.io.IOException: Cannot run program error=13 - JBoss.org
What it looks like might be happening is that the SUDO_USER environment variable is being referenced to determine who is originating the command...
Read more >Error=13, Permission denied - Jenkins Community
The message Cannot run program /usr/bin/ indicates that Jenkins is trying to run a program that has the same name as a common...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@vgindin instead of using UUIDTempNaming() we were using the other option which is not a unique name. Result was flapdoodle running in different threads was trying to create an executable file using the same name causing the exception. Ensuring it use a unique name at each execution like we did, solved the problem.
Hi. I’ve faced with such problem in another project. Could you explain your solution? Why did it help?