-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
[Question] How to support file renames? #59
Comments
If I remember correctly (and I could be wrong), there is a trick to this. Try implementing other operations if you get stuck, as usually it's because some other obscure operation is involved in the one you are trying to get to work. |
@sam0x17 Thanks! I made an attempt at doing this today, but it's possible I missed one as part of the guess-and-check process :) |
Just noticed your comment here: winfsp/winfsp#79. I'll try out that trick. |
@lostintangent haha I knew there was something about this somewhere |
I've got a writeable filesystem implemented successfully, however, I can't seem to figure out how to get file renames to work. I've implemented the
rename
operation, but if I try to rename a file, I get anEPERM: operation not permitted, rename
error message. Just to double-check, I also set every file and directory's stat mode to include read/write/execute permissions for everyone, and I still can't seem to get rename working.Is there a trick to getting this to work? My
rename
handler doesn't even appear to be getting called, so I seem to be missing something (that's probably obvious!). Any suggestions would be greatly appreciated!The text was updated successfully, but these errors were encountered: