Menu

#563 bsdtar creates files with access time set to the Unix epoch (01/01/1970)

BsdTar
open
nobody
1
2016-04-06
2016-04-06
James Bray
No

Hi,

I'm using bsdtar 2.4.12. When extracting files and choosing to update file times, it appears that bsdtar is creating files with the Windows "access time" set to zero, resulting in a date 31 Dec 1969, 23:00 (on my timezone).

I'm guessing this happens because the archive doesn't contain an "access time" and so bsdtar simply uses zero (the Unix epoch)

Would it not be better to simply set the access date to the the last modified date?

Cheers,

James

Discussion

MongoDB Logo MongoDB