Opened 14 years ago

Closed 13 years ago

#147 closed defect (fixed)

File timestamp broken on Samba 3.3.x series

Reported by: Yuri Dario Owned by: Silvan Scherrer
Priority: major Milestone: Samba Server for eCS (OS/2) 1.1.0
Component: Samba Server Core Version: 3.3.5
Keywords: Cc:

Description

Since 3.3 samba server code releases, the timestamp of file operations is always set to current time.

[from (ticket:56)] Also server is writing local files with wrong time, because of libc time handling. It will be nice to have correct timestamp also on local files, so other processes running locally on server will not see wrong timestamps.

Probably code needs to be changed to use localtime when writing to disk, then converting it to GMT when reading it. This should be done at low-level, so upper layers will not see the change. libc also uses daylight, so standard libc convertion routines cannot be used, see client fixes from ticket:56.

Change History (3)

comment:1 Changed 14 years ago by Silvan Scherrer

Milestone: Samba Server for eCS (OS/2) 1.2.0Samba Server for eCS (OS/2) 1.1.0

comment:2 Changed 13 years ago by Silvan Scherrer

Yuri how to reproduce that? and did you test with latest 2.0 client? does that also happen from another client (unix/win)?

comment:3 Changed 13 years ago by Yuri Dario

Resolution: fixed
Status: newclosed

Testing done with 2.0 beta1 client shows this bug is gone :-) At least with 3.0.x samba server code.

Note: See TracTickets for help on using tickets.