ingest-attachment needs more rights



I have an app which uses the elastic search when I do apt ugrade I get

# Configuring Elasticsearch...
-> removing [ingest-attachment]...
-> Downloading ingest-attachment from elastic
[=================================================] 100%  
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessClassInPackage.sun.java2d.cmm.kcms
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.security.SecurityPermission createAccessControlContext
* java.security.SecurityPermission insertProvider
* java.security.SecurityPermission putProviderProperty.BC
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed ingest-attachment

I’m not familiar with java at all. Can you tell me what I’m supposed to do?

Answer

According to the discussion on elastic.io this is just a warning and by pressing “y” or using the option “-b”, the required permissions are granted.

Elastic 7.5 S3 plugin install warning message

This is just a warning to inform you that the plugin requires additional permissions than those required by the core Elasticsearch process. If you hit y, those permissions will be automatically granted. See: Installing plugins with custom docker image warning message

As Elasticsearch plugins have to be installed on each node, we have documentation on how to easily achieve that with ECK as well.



Source: stackoverflow