selectedhan commented on PR #13773:
URL: https://github.com/apache/seatunnel/pull/13773#issuecomment-7302973425

   Thanks for the re-review. I took the optional documentation note and pushed 
`d4e000a`.
   
   **What changed**
   
   - The `path` section of the English and Chinese `SftpFile.md` now has one 
more bullet for a file path that is a symbolic link.
   
   **Doc before**
   
   - The doc said that for a file path the account needs execute permission on 
the parent directories and read permission on the file, and that read 
permission on the parent directory is not required.
   - It did not mention symbolic links, so a reader could assume this holds for 
a link too.
   
   **Doc after**
   
   - The doc says that if the file is a symbolic link, the connector also looks 
up the link target by listing the target's parent directory, so the account 
needs read permission on that directory as well.
   
   **How I checked it** (real OpenSSH server, previous build vs. this change)
   
   - Link in a readable directory, target in an execute-only directory: opening 
fails both before and after this change.
   - Link in an execute-only directory, target in a readable directory: opening 
failed before and succeeds now.
   - Regular file in an execute-only directory: opening failed before and 
succeeds now.
   
   The PR description already notes that links keep their previous cost.
   


-- 
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]

Reply via email to