Skip to content

Fix write issues - #14614

Open
kirawi wants to merge 15 commits into
helix-editor:masterfrom
kirawi:fix-write-issues
Open

Fix write issues#14614
kirawi wants to merge 15 commits into
helix-editor:masterfrom
kirawi:fix-write-issues

Conversation

@kirawi

@kirawi kirawi commented Oct 18, 2025

Copy link
Copy Markdown
Member

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.

Comment thread helix-stdx/src/faccess.rs
pathw.push(0);

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

Copy link
Copy Markdown
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?

@kirawi

kirawi commented Dec 21, 2025

Copy link
Copy Markdown
Member Author

I think at the very least, I can create a separate PR for the trivial check for symlink?

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.

3 participants