-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check/change default umask #158
Comments
Carreau
added a commit
to Carreau/the-littlest-jupyterhub
that referenced
this issue
Aug 29, 2018
World-Readable seem to be a surprising default for many people, especially in teaching context. Switch to a more reasonable rwxr-x--- We have to issue a chmod, as changing at creation time would require changin /etc/adduser.conf DIR_MODE=0760 (or whatever), but that seem unwise. We do not set the exact permission in case the DIR_MODE is more restrictive. Closing jupyterhub#158
Carreau
added a commit
to Carreau/the-littlest-jupyterhub
that referenced
this issue
Aug 29, 2018
World-Readable seem to be a surprising default for many people, especially in teaching context. Switch to a more reasonable rwxr-x--- We have to issue a chmod, as changing at creation time would require changin /etc/adduser.conf DIR_MODE=0760 (or whatever), but that seem unwise. We do not set the exact permission in case the DIR_MODE is more restrictive. Closing jupyterhub#158
Carreau
added a commit
to Carreau/the-littlest-jupyterhub
that referenced
this issue
Aug 29, 2018
World-Readable seem to be a surprising default for many people, especially in teaching context. Switch to a more reasonable rwxr-x--- We have to issue a chmod, as changing at creation time would require changin /etc/adduser.conf DIR_MODE=0760 (or whatever), but that seem unwise. We do not set the exact permission in case the DIR_MODE is more restrictive. Closing jupyterhub#158
This was fixed in #169 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While walking in central valley today I came across a wild jupyterhub running in a grass field. It was used to teach R. Admins were surprised that students could see each other files.
Would it make sens to me to change the umask to 025 (I believe), use the
-M 750
ofadduser
when possible (not available on Ubuntu AFAICT), or at leastsubprocess.check_call(['chmod','0750', f'~{user}'])
.It seem to be a reasonable default IMHO
The text was updated successfully, but these errors were encountered: