Commit 9f34d09f authored by Peter Parente's avatar Peter Parente Committed by GitHub

Merge pull request #576 from ewjoachim/patch-1

Chown of home dir needs to be recursive
parents ae51a604 3c61b079
......@@ -22,7 +22,7 @@ if [ $(id -u) == 0 ] ; then
# Ex: default NFS/EFS (no auto-uid/gid)
if [[ "$CHOWN_HOME" == "1" || "$CHOWN_HOME" == 'yes' ]]; then
echo "Changing ownership of /home/$NB_USER to $NB_UID:$NB_GID"
chown $NB_UID:$NB_GID /home/$NB_USER
chown -R $NB_UID:$NB_GID /home/$NB_USER
fi
# handle home and working directory if the username changed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment