-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
.ipynb_checkpoints doesn't respect umask #2858
Comments
And |
I quickly checked the code and found the following piece of code which might be the root cause.
The function |
I suspect that someone - possibly me - saw that the default for os.makedirs() was 0o777 and assumed that that it would actually create a world-writable directory by default. So I implemented a default equivalent to umask 0o022. I think we can probably let the default be determined by the umask. |
@takluyver |
See #2924 |
Closes jupytergh-2858 Requires jupyter_core 4.4.0, which I just released.
I used the following configuration in
/etc/jupyter/jupyter_notebook_config.py
. Newly created notebooks have the right permission (664), however the.ipynb_checkpoints
folders do not.The text was updated successfully, but these errors were encountered: