java.lang.RuntimeException: Error while running command to get file permissions : java.io.IOException: Cannot run program "/bin/ls": error=13, Permission denied

Stack Overflow | Ragnar | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Apache Spark test fails on 'cannot run program /bin/ls'

    Stack Overflow | 4 months ago | Ragnar
    java.lang.RuntimeException: Error while running command to get file permissions : java.io.IOException: Cannot run program "/bin/ls": error=13, Permission denied
  2. 0
    samebug tip
    Try updating IDE to 1.6.12 or further.
  3. 0

    GitHub comment 92#269324550

    GitHub | 2 months ago | chrissound
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "/usr/bin" (in directory "/home/archie/projects/hbook/mybeT"): error=13, Permission denied
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 86#280435262

    GitHub | 2 weeks ago | MinecraftModDevelopmentBot
    java.io.IOException: Cannot run program "/var/lib/jenkins/workspace/Base Metals/gradlew" (in directory "/var/lib/jenkins/workspace/Base Metals"): error=13, Permission denied
  6. 0

    Gradle installer Permission Error

    GitHub | 2 years ago | atomi
    java.io.IOException: Cannot run program "/var/jenkins_home/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle" (in directory "/var/jenkins_home/jobs/mustash/workspace"): error=13, Permission denied
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    error=13, Permission denied

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:134)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    4 frames
  3. Hive Query Language
    SessionState.start
    1. org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522)
    1 frame
  4. org.apache.spark
    IsolatedClientLoader.createClient
    1. org.apache.spark.sql.hive.client.ClientWrapper.<init>(ClientWrapper.scala:194)
    2. org.apache.spark.sql.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:238)
    2 frames
  5. Spark Project Hive
    HiveContext.functionRegistry
    1. org.apache.spark.sql.hive.HiveContext.executionHive$lzycompute(HiveContext.scala:218)
    2. org.apache.spark.sql.hive.HiveContext.executionHive(HiveContext.scala:208)
    3. org.apache.spark.sql.hive.HiveContext.functionRegistry$lzycompute(HiveContext.scala:462)
    4. org.apache.spark.sql.hive.HiveContext.functionRegistry(HiveContext.scala:461)
    4 frames
  6. Spark Project SQL
    SQLContext.<init>
    1. org.apache.spark.sql.UDFRegistration.<init>(UDFRegistration.scala:40)
    2. org.apache.spark.sql.SQLContext.<init>(SQLContext.scala:330)
    2 frames
  7. Spark Project Hive
    HiveContext.<init>
    1. org.apache.spark.sql.hive.HiveContext.<init>(HiveContext.scala:90)
    1 frame