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

[win32_restrict_file_to_user] allow user to delete file #213

Merged
merged 2 commits into from Jan 31, 2021

Conversation

vidartf
Copy link
Contributor

@vidartf vidartf commented Jan 28, 2021

This allows the user to delete the file without elevating / UAC, c.f. https://docs.microsoft.com/en-us/windows/win32/fileio/file-security-and-access-rights

@vidartf
Copy link
Contributor Author

vidartf commented Jan 28, 2021

I'll have a look at adding a regression test as well.

@vidartf
Copy link
Contributor Author

vidartf commented Jan 28, 2021

Xref jupyter/jupyter_client#614

@vidartf
Copy link
Contributor Author

vidartf commented Jan 28, 2021

Test adjusted, should be ready for review 👍

Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch Vidar! Looks like we've been leaking connection files on Windows for a bit.

@kevin-bates
Copy link
Member

kevin-bates commented Jan 28, 2021

I'd prefer to get @MSeal's review (requested), then I can cut 4.7.1.

@kevin-bates kevin-bates removed the request for review from MSeal January 31, 2021 16:47
@kevin-bates
Copy link
Member

I'm going ahead with merging this. I think Matt is very busy these days and the change makes total sense.

@kevin-bates kevin-bates merged commit 45d548d into jupyter:master Jan 31, 2021
@kevin-bates
Copy link
Member

@vidartf - 4.7.1 has been released: https://pypi.org/project/jupyter-core/

@vidartf vidartf deleted the patch-1 branch February 1, 2021 11:37
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.

None yet

2 participants