Ensure the GID is actually dynamically assigned to a group as well.

This commit is contained in:
Kjeld Schouten-Lebbing
2022-04-06 09:48:52 +02:00
committed by GitHub
parent 25688e6709
commit 6cb4fd6f96

View File

@@ -2,6 +2,7 @@
echo "---Checking if UID: ${UID} matches user---"
usermod -u ${UID} ${USER}
echo "---Checking if GID: ${GID} matches user---"
groupmod -g ${GID} ${GROUP}
usermod -g ${GID} ${USER}
echo "---Setting umask to ${UMASK}---"
umask ${UMASK}