Skip to content

Commit

Permalink
chmod 750 on user's dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianhao-Gu committed Sep 23, 2024
1 parent e5129fc commit 16a4ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jupyterhub_config/hub_singleuser.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _ensure_workspace_permission(self):

self.log.info(f'Configuring workspace permissions for {self.username}')
subprocess.run(['sudo', 'chown', '-R', f'{self.username}:{group_name}', self.user_dir], check=True)
subprocess.run(['sudo', 'chmod', '-R', '770', self.user_dir], check=True)
subprocess.run(['sudo', 'chmod', '-R', '750', self.user_dir], check=True)

Check warning on line 114 in src/jupyterhub_config/hub_singleuser.py

View check run for this annotation

Codecov / codecov/patch

src/jupyterhub_config/hub_singleuser.py#L112-L114

Added lines #L112 - L114 were not covered by tests

def _init_logger(self):
"""
Expand Down

0 comments on commit 16a4ffc

Please sign in to comment.