Samba 2.2.1 released.

Jeremy Allison jeremy at valinux.com
Wed Jul 11 00:23:04 GMT 2001


scott wrote:
> 
> Viewed from W2K, the Created/Modified dates are both the true creation date* of the file.  If I do a 'stat' on the file from the
> Linux server, the Modify date shows as the true creation date, and the Change date is when I copied the file from W2K to Samba.
> 
> The timestamps are getting created correctly, but aren't getting read back correctly.
> 
> *true creation date = when the author actually made it.
> 
> - - - - - - - - - - - - - - - - - - - - -
> 
> > Oringinal file (local Win200),
> > Created:    12 June 2001 19:07:41
> > Modified:   12 June 2001  19:07:42
> > Accessed:    10 July 2001
> >
> > Copied to local drive
> > Created:    10 July 2001 17:32:34
> > Modified:   12 June 2001  19:07:42
> > Accessed:    10 July 200
> >
> > Copied to Win2000 Share
> > Created:    10 July 2001 17:32:51
> > Modified:   12 June 2001  19:07:42
> > Accessed:    10 July 200
> >
> > Copied to Samba 2.2.0 (Solaris 2.7) Share
> > Created:    12 June 2001   19:07:42
> > Modified:   12 June 2001  19:07:42
> > Accessed:    10 July 200
> >
> > Moved to a Samba 2.2.0 (Solaris 2.7) Share
> > Created:    12 June 2001   19:07:42
> > Modified:   12 June 2001  19:07:42
> > Accessed:    10 July 200


The problem is that the underlying UNIX filesystem
doesn't store the creation date.

Samba fakes this by looking at all dates available to
a file and setting the oldest one it can find as the
creation date (as this is most probably the earliest
date the file has been around).

Samba will mess up when a file is copied such that the
creation date is later than the modification date. Samba
can have no idea when the file really was created on a
POSIX filesystem so selects the earliest date to display.

Regards,

	Jeremy Allison,
	Samba TEam.
-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------




More information about the samba-technical mailing list