Closed
Description
I am having the following issue with elastic-search 7.9.0 and the repository-s3 plugin.
"stacktrace": ["java.security.AccessControlException: access denied (\"java.io.FilePermission\" \"/usr/share/elasticsearch/.aws/config\" \"read\")",
"at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:?]",
"at java.security.AccessController.checkPermission(AccessController.java:1036) ~[?:?]",
"at java.lang.SecurityManager.checkPermission(SecurityManager.java:408) ~[?:?]",
"at java.lang.SecurityManager.checkRead(SecurityManager.java:747) ~[?:?]",
"at java.io.File.exists(File.java:818) ~[?:?]",
My Dockerfile looks like this:
FROM docker.elastic.co/elasticsearch/elasticsearch:7.7.1
RUN elasticsearch-plugin install --batch repository-s3
I can see the stack-trace appearing only once after every restart.
My aws/s3 credentials do get directly added into the key-store so I am not sure why it is trying to read "/usr/share/elasticsearch/.aws/config"
Does anyone know what can cause this?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment