Skip to content

Commit 2d9aa71

Browse files
committed
Added logging of CHOWN_HOME_OPTS and CHOWN_EXTRA_OPTS.
Signed-off-by: Brett Randall <[email protected]>
1 parent 7dc56ab commit 2d9aa71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base-notebook/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ if [ $(id -u) == 0 ] ; then
5050
# Handle case where provisioned storage does not have the correct permissions by default
5151
# Ex: default NFS/EFS (no auto-uid/gid)
5252
if [[ "$CHOWN_HOME" == "1" || "$CHOWN_HOME" == 'yes' ]]; then
53-
echo "Changing ownership of /home/$NB_USER to $NB_UID:$NB_GID"
53+
echo "Changing ownership of /home/$NB_USER to $NB_UID:$NB_GID with options '${CHOWN_HOME_OPTS}'"
5454
chown $CHOWN_HOME_OPTS $NB_UID:$NB_GID /home/$NB_USER
5555
fi
5656
if [ ! -z "$CHOWN_EXTRA" ]; then
5757
for extra_dir in $(echo $CHOWN_EXTRA | tr ',' ' '); do
58-
echo "Changing ownership of ${extra_dir} to $NB_UID:$NB_GID"
58+
echo "Changing ownership of ${extra_dir} to $NB_UID:$NB_GID with options '${CHOWN_EXTRA_OPTS}'"
5959
chown $CHOWN_EXTRA_OPTS $NB_UID:$NB_GID $extra_dir
6060
done
6161
fi

0 commit comments

Comments
 (0)