-
Notifications
You must be signed in to change notification settings - Fork 500
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
bug: CWD in unftp_sbe_opendal is broken due '/' requirement in path end #5394
Comments
Thank you for the reports! We have a plan to add integration tests for this but not started yet. I believe we can add this as long as fixing them. |
@Frank-III thank you! If integration tests are still on the way, may I ask you to connect it with your FTP client and test some basic operations manually? Currently, I can't even upload a file in root directory without error. And even with your PR fixes, whenever I chdir to Test directory, it gives me another directory with a strange name that looks like "--- -- --:-- OriginalDirName" in the list. Even if I chdir back to root, it still gives me that directory with a strange name. As per my understanding, the former happens because it presents me a list belonging to the root directory even if I chdir to Test/, and the latter happens because somehow it forgets the directory creation time. |
Sorry, I may be wrong since I may not know this project better than you. |
list will return itself, I'm guessing we need to filter itself will doing |
I've just ensured that actually the memory service does support Although this doesn't explains why it appears even after chdir into the test directory itself, from what I have seen in the logs I got an impression that unftp_sbe_opendal always requests |
@Frank-III finally I confirm it works without any problems with my custom OpenDAL service. Hope this will be merged in OpenDAL upstream. |
Describe the bug
After having #5380 fixed (@Frank-III thank you very much for that!), now I'm having troubles with CWDing in a newly created directory due to the same problem. I also have a strong impression that every command (except for MKD as it was fixed in #5380) involving directories is broken due to a convention that requires adding "/" to each directory path - including CWD, DELE, LIST, MLSD and others.
In my Filezilla log I have:
In my env_logger I have:
Is it possible to fix that and add some regression tests to prevent that from occurring again in the future?
Steps to Reproduce
Expected Behavior
I expect that operations to be working
Additional Context
No response
Are you willing to submit a PR to fix this bug?
The text was updated successfully, but these errors were encountered: