Skip to content

Commit

Permalink
Add support for OpenSSH lsetstat SFTP extension
Browse files Browse the repository at this point in the history
This commit adds both client and server support for the OpenSSH "letstat"
extension to set attributes on symbolic links on platforms which support it.

This commit also adds a "follow_symlinks" optional argument on the
SFTPClient stat() and setstat() methods, as well as chown(), chmod(),
and utime(), similar to what's supported by the `os` module.

Thanks go to GitHub user eyalgolan1337 for reporting this issue!
  • Loading branch information
ronf committed Jul 1, 2024
1 parent 3242743 commit 16fb0ac
Show file tree
Hide file tree
Showing 2 changed files with 304 additions and 74 deletions.
Loading

0 comments on commit 16fb0ac

Please sign in to comment.