sftp-server: Add nanoseconds support

Opty opty77 at gmail.com
Sun Sep 5 02:09:05 AEST 2021


On Sat, Sep 4, 2021 at 7:23 AM David Newall <openssh at davidnewall.com> wrote:
> On 3/9/21 11:26 pm, Opty wrote:
> > please, consider adding nanoseconds support to sftp-server.
>
> I'm not sure what time you want returned with nanosecond-resolution,
> but, perhaps you mean the creation or last modification time of remote
> files and directories.  I don't know what resolution SFTP provides but
> it can't be greater than the underlying filesystem.  Most of them have
> second-resolution.

I mean preserving file system timestamps like you mentioned. SFTP
provides seconds so far. Many file systems use sub-second timestamps:
https://kernelnewbies.org/y2038/vfs#Overview_of_file_systems

Regards,
Opty


More information about the openssh-unix-dev mailing list