Skip to content

Conversation

@kirawi
Copy link
Member

@kirawi kirawi commented Oct 18, 2025

As requested #11374 (comment)

I only did a few quick/simple checks, but is more or less a copy of the relevant changes made in that PR.

Edit: However, I made additional changes such as better copying over of file metadata.

pathw.push(0);

// SAFETY: It is the caller's responsibility to close the handle
fn chown(handle: HANDLE, sd: SecurityDescriptor) -> io::Result<()> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be explicitly unsafe fn?

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.

2 participants