Elasticsearch:8.5.2 InitContainers chown: /usr/share/elasticsearch/data: Operation not permitted

I am on AWS EKS 1.24 using EFS PVC.

      initContainers:
        - name: fix-volume-mount-permission
          image: busybox
          command: ["sh", "-c", "chown -R 1000:0 /usr/share/elasticsearch/data"]
          volumeMounts:
            - name: elasticsearch-master-pvc
              mountPath: /usr/share/elasticsearch/data

Error:

chown: /usr/share/elasticsearch/data: Operation not permitted

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.