Timestamp problem on SAMBA server

Here you can report bugs found in Far Manager.
Locked
vladob54
Posts: 2
Joined: Tue Aug 14, 2007 2:27 pm
Location: Bratislava

Timestamp problem on SAMBA server

Post by vladob54 » Tue Aug 14, 2007 2:42 pm

When I create a local file on the Win XP system and make a backup copy on a Samba server, the timestamp of the backup file is rounded on the one-second boundary. If I subsequently perform the "Compare folders" command, one of the files appears to be older. This is most likely due to the fact that the NTFS file system store timestamps with a sub-second granularity, whereas the Samba hosted in a Linux does not.

I could not find any solution to this problem and therefore suggest that FAR manager should round-up the local timestamp value accordingly when performing folder comparisons.

BTW, this problem doest not appear with Total Commander :-)

Best regards,

G, 16:45

pepak
Posts: 44
Joined: Wed May 03, 2006 5:10 pm

Post by pepak » Tue Aug 14, 2007 3:34 pm

Use Advanced Compare. It can do everything Compare Folders does, plus it allows 2sec precision and many other options.

User avatar
DrKnS
Posts: 32
Joined: Thu Feb 23, 2006 6:48 pm
Contact:

Post by DrKnS » Tue Aug 14, 2007 3:58 pm

If I subsequently perform the "Compare folders" command...
Use standard plugin Advanced Compare and check the "two seconds precision" option.

vladob54
Posts: 2
Joined: Tue Aug 14, 2007 2:27 pm
Location: Bratislava

Yes, but...

Post by vladob54 » Wed Aug 15, 2007 2:50 pm

Thanks for the replies.

Yes, the Advanced Compare would identify the identical files correctly. It has, however, other issue: two files with identical filenames but different contents and/or timestamps are BOTH highlighted (i.e. not only the "newer" one as with the standard Compare Folders command)... This is not very helpful in manual folder synchonization prodedure :-(

Regards,

G, 16:55

Locked