bug: file time travels when updating

Herb Lewis herb at chomps.engr.sgi.com
Thu Nov 12 16:33:02 GMT 1998


Francesc Guasch wrote:
> 
> Hi, I think I've found a bug.
> When I create a file from win95 it's stored in the server with the
>  date of creation. (that's ok)
> 
> If I update the file from win95 the date of the file changes but
> it's stored as one hour less than it should be. (not so ok)
> 
> example:
> 
> 1.- I create a file at 16:45
>         $ ls -ld b.txt
>                 Nov 12 16:45 b.txt
> 
> 
> 2.- I update that file one minute later:
>         $ ls -ld b.txt
>                 Nov 12 15:46 b.txt
>                         ^^^^
> 
> I have samba-1.9.18p10
> SunOS parra 5.6 Generic sun4u sparc SUNW,Ultra-1
> gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
> 

This works fine for me. Check the time on Unix and the Win95. Create
time seems to be set by the Unix time, but when you later modify
the file, the time comes from the PC.
-- 
======================================================================
Herb Lewis                                   Silicon Graphics 
Technical Marketing                          2011 N Shoreline Blvd
Network Systems Division                     Mountain View, CA  94043  
herb at sgi.com                                 Tel: 650-933-2177
http://www.sgi.com                           Fax: 650-932-2177          
======================================================================


More information about the samba mailing list