Changing ownership of /usr/share/kibana/optimize/ to kibana:kibana

Hello, as per the Kibana docker-file, only /usr/share/kibana/config/ is shared to kibana:kibana usr/group.

However, i’d like to chown /usr/share/kibana/optimize/ too along with the above folders.

Currently my Dockerfile looks like this

FROM amazon/opendistro-for-elasticsearch-kibana:1.11.0
# Install the Wazuh Kibana application
RUN NODE_OPTIONS="--max-old-space-size=3072" /usr/share/kibana/bin/kibana-plugin install${WAZUH_VERSION}_${KIBANA_VERSION} 

We’ve setup a initContainers along with PVC in K8s deployment to take care of this, i’d just like to know why we’re not by default changing ownership of /usr/share/kibana/optimize/ folder. Kibana Running requires us to create logs in there