File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 6
6
# This ID is registered static ID for the JBoss EAP product
7
7
# on RHEL which makes it safe to use.
8
8
groupadd -r jboss -g 185 && useradd -u 185 -r -g root -G jboss -m -d /home/jboss -s /sbin/nologin -c " JBoss user" jboss
9
- chmod ug+rwX /home/jboss
10
9
11
- # OPENJDK-533: Some container runtimes (Docker) will fail to start if
12
- # the running UID cannot chdir to $HOME
13
- chmod og+x /home/jboss
10
+ # OPENJDK-533, OPENJDK-556: correct permissions for OpenShift etc
11
+ chmod 0770 /home/jboss
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ Feature: Miscellaneous general settings unit tests
7
7
When container is started with args
8
8
| arg | value |
9
9
| command | stat /home /jboss |
10
- Then available container log should contain Access: (0771 /drwxrwx--x )
10
+ Then available container log should contain Access: (0770 /drwxrwx--- )
You can’t perform that action at this time.
0 commit comments