Opened 12 years ago

Closed 10 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 Changed 12 years ago by Yuri Dario

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 Changed 12 years ago by Yuri Dario

(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 Changed 12 years ago by Yuri Dario

Milestone: Netdrive SMB Client plugin 1.5 alpha 1

comment:4 Changed 11 years ago by Silvan Scherrer

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

comment:5 Changed 11 years ago by Silvan Scherrer

Milestone: Netdrive plugin 1.5.0Netdrive plugin 1.6 alpha

comment:6 Changed 10 years ago by cmcrae1

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 Changed 10 years ago by Silvan Scherrer

Resolution: fixed
Status: newclosed

done in r493 and r494

Note: See TracTickets for help on using tickets.