Mola-maker commented on PR #9083: URL: https://github.com/apache/opendal/pull/9083#issuecomment-7167294802
Thanks, updated in 584f790. - After an empty `LIST`, the lister now confirms the requested directory with `CWD <path>` instead of searching the parent listing. That covers a traversable child of an unlistable parent and the dot directories vsftpd hides. - Before the `CWD`, the connection is detached from the pool (`bounded::Object::detach`). Success, failure and cancellation all drop it, so it is never returned with a changed working directory. The cost is one reconnect, and only after an ambiguous empty listing. - Added `test_list_empty_hidden_dir` to the behavior tests: an empty `.<uuid>/` directory must list as itself. With the re-enabled vsftpd fixture, CI runs it against vsftpd. Verified locally: memory, fs, and libunftp/Fs (109 passed; the 10 failures are the `REST` ones unftp-sbe rejects by design). My local Docker engine stopped responding before I could rerun vsftpd, so the vsftpd result for this commit will come from CI. I could not add a regression test for the unlistable-parent case: it needs server-side permissions that the behavior tests cannot set up. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
