File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
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
9
10
10
11
# OPENJDK-533: Some container runtimes (Docker) will fail to start if
11
12
# the running UID cannot chdir to $HOME
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ set -euo pipefail
3
3
4
4
# set up a copy of the passwd file which nss_wrapper will use.
5
5
cp /etc/passwd /home/jboss/passwd
6
- chmod ug+rwX /home/jboss /home/jboss /passwd
6
+ chmod ug+rwX /home/jboss/passwd
Original file line number Diff line number Diff line change
1
+ Feature : Miscellaneous general settings unit tests
2
+
3
+ @ubi8
4
+ @redhat-openjdk-18/openjdk18-openshift
5
+ @openjdk/openjdk-11-rhel7
6
+ Scenario : Check the attributes of /home/jboss using stat
7
+ When container is started with args
8
+ | arg | value |
9
+ | command | stat /home /jboss |
10
+ Then available container log should contain Access: (0771/drwxrwx--x)
You can’t perform that action at this time.
0 commit comments