Skip to content

Commit 9f49b2c

Browse files
committed
consolidation
1 parent 0fd4c7f commit 9f49b2c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

hive/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,18 @@ microdnf update
136136
microdnf clean all
137137
rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\n" | sort > /stackable/package_manifest.txt
138138
chown ${STACKABLE_USER_UID}:0 /stackable/package_manifest.txt
139+
chmod g=u /stackable/package_manifest.txt
139140
rm -rf /var/cache/yum
140141

141142
ln -s /stackable/apache-hive-metastore-${PRODUCT}-bin /stackable/hive-metastore
142143
chown -h ${STACKABLE_USER_UID}:0 /stackable/hive-metastore
144+
chmod g=u /stackable/hive-metastore
143145
ln -s /stackable/hadoop-${HADOOP} /stackable/hadoop
144146
chown -h ${STACKABLE_USER_UID}:0 /stackable/hadoop
147+
chmod g=u /stackable/hadoop
148+
149+
# fix missing permissions
150+
chmod --recursive g=u /stackable/jmx
145151
EOF
146152

147153
# ----------------------------------------
@@ -159,6 +165,7 @@ EOF
159165

160166
# ----------------------------------------
161167
# Attention: Do not perform any file based actions (copying/creating etc.) below this comment because the permissions would not be checked.
168+
# ----------------------------------------
162169

163170
USER ${STACKABLE_USER_UID}
164171

0 commit comments

Comments
 (0)