selectedhan commented on PR #13773: URL: https://github.com/apache/seatunnel/pull/13773#issuecomment-7300740475
Thanks for the review. I pushed a second commit (`d11820d`) that addresses the blocking item: - **IT assertion:** added `SftpFileIT#testOpenKnownPathInNonListableDirectory`. It uses the real SFTP server container, creates a directory with mode `311` (execute only), and asserts that listing the directory fails while opening a file in it by its exact path succeeds. It fails with `FileNotFoundException` on the previous `SFTPFileSystem` and passes with this change. - **Docs:** the English and Chinese `SftpFile.md` now have a `path` subsection that describes the permissions needed when `path` is a directory (discovery by listing) and when it is a file (known-path open). - **Existing IT:** `SftpFileIT#testSftpFileReadAndWrite`, which includes the wildcard file name case, passes on all engines in the IT matrix when I run it locally. I kept the exception types unchanged, as suggested. I also added the symbolic link limitation to the PR description: for a link, `lstat` only reports that the path is a link, so the target is still resolved with `realpath` and looked up through a parent-directory listing, and links keep their previous cost. Local checks and the servers I tested against are listed in the PR description. I did not run the full-repository unit tests or JDK 17 myself, so I am relying on CI for those. The CI run for this head is still waiting for a maintainer to approve it. -- 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]
