<p>It seems by default Kubernetes creates a hostPath volume with <code>755</code> permission on a directory.</p>

<p>Is it possible to set this value to something else by a <code>volume</code> spec? As opposed to manually doing a <code>chmod</code> on the relevent host directory.</p>

<pre><code>  initContainers:
    - name: volume-mount-hack
      image: busybox
      command: ["sh", "-c", "chmod -R 777 /tmp/docker"]
      volumeMounts:
      - name: redis-socket
        mountPath: /tmp/docker
</code></pre>
