Answer the question
In order to leave comments, you need to log in
Why does Runtime.getRuntime.exec throw error=13, Permission denied?
I'm running under debian 10.
java.io.IOException: Cannot run program "/usr/bin/cat": error=13, Permission denied
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) ~[na:na]
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) ~[na:na]
at java.base/java.lang.Runtime.exec(Runtime.java:590) ~[na:na]
at java.base/java.lang.Runtime.exec(Runtime.java:414) ~[na:na]
at java.base/java.lang.Runtime.exec(Runtime.java:311) ~[na:na]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question