Skip to content
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

Jupyterhub Scratch Write Access for Student #245

Open
paselkin opened this issue Aug 14, 2024 · 5 comments
Open

Jupyterhub Scratch Write Access for Student #245

paselkin opened this issue Aug 14, 2024 · 5 comments

Comments

@paselkin
Copy link

Hi Folks,
A student working with me on a Landlab project on Jupyterhub would like to share some code with me, but she doesn't seem to be able to save files to the scratch folder. Is it possible to check to make sure she has write permissions on Scratch? She does have read access: she's been able to read files I've saved on there. The student's name is Victoria Goodrich, email is [email protected]
Thanks,
Peter Selkin

@mdpiper
Copy link
Member

mdpiper commented Aug 15, 2024

@paselkin By default, all users have write access to the scratch directory. However, users only have read access to files they don't own; e.g., @tori543 won't be able to modify a file you own. You can change the file permissions on a file you own to make it writable. (Note that this makes it writable by all users on the Hub.)

@mdpiper
Copy link
Member

mdpiper commented Aug 15, 2024

@paselkin I want to be careful to emphasize that scratch is a really low-tech way of sharing files. It's basically a pick-up and drop-off point. Going back to an earlier conversation in #240, I think the best way for working together on a notebook is through GitHub. This is more difficult, but it may pay off in the long (even medium) run because the notebook will be under version control, so you'll have a complete history of changes to the file.

@paselkin
Copy link
Author

paselkin commented Aug 15, 2024 via email

@mdpiper
Copy link
Member

mdpiper commented Aug 15, 2024

Yup! You can configure Git and GitHub for use directly on the Hub. (I actually use this often.)

It sounds like you're already comfortable doing this, but if it would help, I have a short set of lessons on configuring Git/GitHub that I use when teaching classes that use the Hub.

@paselkin
Copy link
Author

paselkin commented Aug 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants