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
Operation not permitted in rename of directory with children on windows #174
Comments
I'll go ahead and take a look and see what I can get done on this! |
I went ahead and made a pull request for this. Seems like windows does not allow rename operations when the file is open, and in this case that required unwatching the vault. I simply checked if the user was running on a windows environment and did the necessary steps. Let me know if this is aligned with what you were thinking or some issues that you think this could allow. Thanks! |
The above error happens when a user tries to rename a directory on Windows that has children in it. I suspect this is because Reor is locking the files and we need to do something to unlock/unwatch the files when doing the rename operation. More research on this is required though
The text was updated successfully, but these errors were encountered: