From 4e7a1e6680096468578dc360c12fdbddff034afa Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Tue, 2 Apr 2024 01:48:44 +0100 Subject: [PATCH] Add note about user permissions modification --- roles/jupyterhub/templates/jupyterhub_config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/jupyterhub/templates/jupyterhub_config.py b/roles/jupyterhub/templates/jupyterhub_config.py index 705530ea..0adb622b 100644 --- a/roles/jupyterhub/templates/jupyterhub_config.py +++ b/roles/jupyterhub/templates/jupyterhub_config.py @@ -170,7 +170,9 @@ class QHubHPCSpawner(QHubHPCSpawnerBase): ln -s /shared "$HOME/share" fi -# Ensure home directory is private +echo "Ensure home directory $HOME is private" +# This will remove read, write, execute permissions from the group and other users. +# It will not change permissions for the user that owns the file. chmod go-rwx $HOME # ensure ipyparallel configuration profiles