java.security.AccessControlException: access denied ("java.io.FilePermission" "/etc/passwd" "read")

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via slideshare.net by Unknown author, 1 year ago
access denied ("java.io.FilePermission" "/etc/passwd" "read")
via Oracle Community by 843797, 1 year ago
access denied (java.io.FilePermission file:C:sundaricancel.gif read)
via Oracle Community by 807546, 1 year ago
access denied (java.io.FilePermission counter.txt read)
via Oracle Community by 807597, 1 year ago
access denied (java.io.FilePermission ftestread.txt read)
via Google Groups by JBless, 1 month ago
access denied (java.io.FilePermission docs.txt read)
via Stack Overflow by Unknown author, 2 years ago
access denied ("java.io.FilePermission" "C:\tstsecdata\data" "read")
java.security.AccessControlException: access denied ("java.io.FilePermission" "/etc/passwd" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
at java.security.AccessController.checkPermission(AccessController.java:559)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.FileInputStream.(FileInputStream.java:135)
at java.io.FileInputStream.(FileInputStream.java:101)
at java.io.FileReader.(FileReader.java:58)
at org.jboss.shared.Utils.getUserListInternal(Utils.java:36)
at org.jboss.shared.Utils.getUsersList(Utils.java:28)
at org.jboss.test.App.run(App.java:35)
at org.jboss.test.App.main(App.java:28)

Users with the same issue

2 times, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 4 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.