https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261434

Ivan Rozhuk <rozhuk...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|Works As Intended           |FIXED

--- Comment #20 from Ivan Rozhuk <rozhuk...@gmail.com> ---
> We have already verified, from reading its code, that sshfs ignores any 
> UTIME_OMIT value.  That is the bug.


No, this is not BUG, at least not sshfs, may be libfuse.

If you look into history:
https://github.com/libfuse/libfuse/commit/71bfb92607ce2312c8adb7359a6d883473c51748

in past there was flag_utime_omit_ok flag:

> If the filesystem sets this flag then ->utimens() will receive UTIME_OMIT and
UTIME_NOW values as specified in utimensat(2).


That has been removed later:
https://github.com/libfuse/libfuse/commit/4496de197143a9c8aa57b5ebbf45c9941ec20b0b


This describes why this was done:
https://sourceforge.net/p/fuse/mailman/fuse-devel/thread/E1NN4MD-0005ZG-7M%40pomaz-ex.szeredi.hu/#msg24235345

https://lore.kernel.org/lkml/4b2f7421.10...@byu.net/T/

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to