notebook_dir not created for users added through hub

15 views
Skip to first unread message

Michael Pastore

unread,
Jan 28, 2017, 2:04:51 PM1/28/17
to Project Jupyter
Hello all,

In my config file I have


c
.JupyterHub.authenticator_class = 'oauthenticator.LocalGitHubOAuthenticator'
c
.GitHubOAuthenticator.oauth_callback_url = '*~blah~*'
c
.GitHubOAuthenticator.client_id = '*~blah~*'
c
.GitHubOAuthenticator.client_secret = '*~blah~*'

c
.LocalAuthenticator.create_system_users = True
c
.Authenticator.whitelist = {'userx'}
c
.Authenticator.admin_users = {'userx'}
c
.Spawner.notebook_dir = '~/notebooks'



When I logged in to the hub as admin and created a user through the hub, the user was created and a user directory was created under /home.  But the user directory did not contain notebooks sub-directory.  How can we enable the hub to create sub-directories for new users?  Or, am I missing an existing mechanism or config option that does this?

Thanks.

Michael Pastore

unread,
Jan 28, 2017, 4:31:42 PM1/28/17
to Project Jupyter
Disregard - I just needed to add any directories to be created in a user folder to /etc/skel/.
Reply all
Reply to author
Forward
0 new messages