Skip to content

accept RENAME_NOREPLACE in rename - #393

Open
abhinavagarwal07 wants to merge 1 commit into
libfuse:masterfrom
abhinavagarwal07:rename-noreplace
Open

abhinavagarwal07 wants to merge 1 commit into
libfuse:masterfrom
abhinavagarwal07:rename-noreplace

Conversation

@abhinavagarwal07

Copy link
Copy Markdown
Collaborator

macFUSE's FSKit backend sets RENAME_NOREPLACE on every rename to a new name, so on macOS they all failed with EINVAL. Accept it and use plain SFTP rename, which the protocol defines as failing if the target exists.

macFUSE's FSKit backend sets it on every rename to a new name, so all
such renames failed with EINVAL.
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