New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.security.AccessControlException: access denied ("java.io.FilePer… #10018
Conversation
@netty-bot test this please |
Seems OK, but I guess a user might have configured the security manager to allow access for some of the files you're trying to read, i.e. |
@trustin got it... so one call per file. Makes sense. Let me change it :) |
…mission" "/etc/os-release" "read") Motivation: Modifications: - Wrap the code and execute with an AccessController - Ignore SecurityException (by just logging it) - Add some more debug logging Result: Fixes #10017
66baf0a
to
a3c4154
Compare
@trustin done |
@netty-bot test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…mission" "/etc/os-release" "read") (netty#10018) Motivation: Modifications: - Wrap the code and execute with an AccessController - Ignore SecurityException (by just logging it) - Add some more debug logging Result: Fixes netty#10017
…mission" "/etc/os-release" "read")
Motivation:
Modifications:
Result:
Fixes #10017