lhotari commented on PR #21084:
URL: https://github.com/apache/pulsar/pull/21084#issuecomment-1845982713

   This PR #13376 provides more context and the reference about why root group 
must be used for OpenShift support:
   * 
https://engineering.bitnami.com/articles/running-non-root-containers-on-openshift.html
   * https://cloud.redhat.com/blog/a-guide-to-openshift-and-uids
   
   > The Container user is always a member of the root group, so it can read or 
write files accessible by GID=0. Any command invoked by the Entrypoint will be 
executed with this unprivileged UID and GID pair. That means, it is an 
unprivileged user executing the commands and the UID that will be used during 
execution is not known in advance. From the technical design perspective, that 
means, directories and files that may be written to by processes in the 
Container should be owned by the root group and be read/writable by GID=0. 
Files to be executed should also have group execute permissions. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to