Skip to content

Use tempfile.mkdtemp() to create the temp dir so the creator always has the ownership #200

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yiskylee
Copy link
Contributor

Currently when user needs to send out an email they need to store the attachment file in their home directory. However, in some cases the user does not own its home directory, using the default mkdtemp will ensure the user has the access to the created dir.

Currently when user needs to send out an email they need to store the attachment file in their home directory. However, in some cases the user does not own its home directory, using the default `mkdtemp` will ensure the user has the access to the created dir.
@yiskylee yiskylee changed the title Update notebook_execution.py Use tempfile.mkdtemp() to create the temp dir so the creator always has the ownership May 23, 2025
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

Successfully merging this pull request may close these issues.

1 participant