Opened 17 years ago

Closed 14 years ago

#56 closed defect (fixed)

timestamps for files on shares are not always correct

Reported by: Yuri Dario Owned by:
Priority: blocker Milestone: Netdrive plugin 2.1 alpha
Component: Samba Client Plugin Version:
Keywords: tz timezone hour Cc: cmcrae1

Description

The timestamp of a file sometimes shows a 1 hour difference from local file.

Further investigations, showed that files created in summer time has the 1 hour gap if local time is winter time (and viceversa).

Change History (7)

comment:1 by Yuri Dario, 17 years ago

The problem is in libc time handling: time conversion from/to GMT uses also the daylight saving field, while code expects to use only timezone difference.

Using XP-pro as reference, only timezone delta is used for files.

comment:2 by Yuri Dario, 17 years ago

(changeset:126) this fixes timestamps when files are copied from os2 client to xp/samba share (and then back). Still it is not correct for local server files.

comment:3 by Yuri Dario, 16 years ago

Milestone: Netdrive SMB Client plugin 1.5 alpha 1

comment:4 by Silvan Scherrer, 16 years ago

Milestone: Netdrive SMB Client plugin 1.5 beta 1Netdrive SMB Client plugin 1.5.0

comment:5 by Silvan Scherrer, 15 years ago

Milestone: Netdrive plugin 1.5.0Netdrive plugin 1.6 alpha

comment:6 by cmcrae1, 14 years ago

Cc: cmcrae1 added

In case it helps with diagnostics. Using plugin v 1.5.1 and the TZ set to:

TZ=EST-10EDT,10,1,0,7200,4,1,0,7200,3600

Time stamps for files created on a Windows 2003 server share are +10 hours ahead of local time. Time stamps on Files created on a Novell 6.1 CIFS share are +20 hours ahead.

comment:7 by Silvan Scherrer, 14 years ago

Resolution: fixed
Status: newclosed

done in r493 and r494

Note: See TracTickets for help on using tickets.