dos
filetime
resolution
is share-level option. If set to
yes
, Samba will arrange to have the file times rounded to the closest two-second boundary. This option exists primarily to satisfy a quirk in Windows that prevents Visual C++ from correctly recognizing that a file has not changed. You can enable it as follows:
[data]
dos filetime resolution = yes
We recommend using this option only if you are using Microsoft Visual C++ on a Samba share that supports opportunistic locking.