diff --git a/base-notebook/start.sh b/base-notebook/start.sh index f9002110..1d30ca9e 100755 --- a/base-notebook/start.sh +++ b/base-notebook/start.sh @@ -50,12 +50,12 @@ if [ $(id -u) == 0 ] ; then # Handle case where provisioned storage does not have the correct permissions by default # 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" + echo "Changing ownership of /home/$NB_USER to $NB_UID:$NB_GID with options '${CHOWN_HOME_OPTS}'" chown $CHOWN_HOME_OPTS $NB_UID:$NB_GID /home/$NB_USER fi if [ ! -z "$CHOWN_EXTRA" ]; then for extra_dir in $(echo $CHOWN_EXTRA | tr ',' ' '); do - echo "Changing ownership of ${extra_dir} to $NB_UID:$NB_GID" + echo "Changing ownership of ${extra_dir} to $NB_UID:$NB_GID with options '${CHOWN_EXTRA_OPTS}'" chown $CHOWN_EXTRA_OPTS $NB_UID:$NB_GID $extra_dir done fi