sftpserver icon indicating copy to clipboard operation
sftpserver copied to clipboard

Proposal for a new `lsetstat` extension

Open stevenxxiu opened this issue 1 year ago • 1 comments

When porting SSHFS over to SFTP v6, I encountered an old issue of theirs, being that there was no support for [email protected]. #640038 - sshfs: cannot set timestamps of symbolic links - Debian Bug report logs.

SFTP v3 handles user and group via IDs and not strings. So OpenSSH's [email protected] won't really be applicable here.

What do you think about creating a new extension, that extends SSH_FXP_FSETSTAT so it sets the stat on the symlink?

stevenxxiu avatar Apr 19 '23 12:04 stevenxxiu

[email protected] takes an ATTRS argument, just like SSH_FXP_SETSTAT, so it would translate to later versions in a natural way.

ewxrjk avatar Apr 22 '23 10:04 ewxrjk