java.security.AccessControlException: Access denied (java.io.FilePermission /tmp/harmony-test-FileTest/executeFile read)

Apache's JIRA Issue Tracker | Catherine Hope | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.security.AccessControlException

    Access denied (java.io.FilePermission /tmp/harmony-test-FileTest/executeFile read)

    at java.security.AccessController.checkPermission()
  2. Java RT
    File.canExecute
    1. java.security.AccessController.checkPermission(AccessController.java:95)
    2. java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
    3. java.lang.SecurityManager.checkRead(SecurityManager.java:480)
    4. java.io.File.exists(File.java:446)
    5. java.io.File.canExecute(File.java:1702)
    5 frames