Skip to content

Update group setting#238

Open
jmesnil wants to merge 1 commit intowildfly:mainfrom
jmesnil:group_permissions
Open

Update group setting#238
jmesnil wants to merge 1 commit intowildfly:mainfrom
jmesnil:group_permissions

Conversation

@jmesnil
Copy link
Member

@jmesnil jmesnil commented Dec 19, 2024

Set the jboss user's group to 0 so that when the container runs in OpenShift, its user (which would not be jboss) would still belong to the same root group.

This also simplifies the Dockerfile instructions as the installation of WildFly can be done directly by the jboss user (instead of root) and there is no need to change the whole installation ownership to jboss:0 as it will be done automatically.

Set the jboss user's group to 0 so that when the container runs in OpenShift, its user
(which would not be jboss) would still belong to the same root group.

This also simplifies the Dockerfile instructions as the installation of WildFly
can be done directly by the jboss user (instead of root) and there is no need
to change the whole installation ownership to jboss:0 as it will be done automatically.

Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
@jmesnil
Copy link
Member Author

jmesnil commented Dec 19, 2024

@jfdenise could you please review? The key thing is to change the group Id to 0 as we are doing in our builder/runtime images (https://github.com/wildfly/wildfly-cekit-modules/blob/59426a5dff4a116dc901c3b187c41fb44bd85fcb/jboss/container/user/configure.sh#L8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jboss user doesn't have permission on its home dir

2 participants