[Samba] syncing file dates between windows nt4 and samba 3.0

Daniel Johnson Progman2000 at usa.net
Sun Jan 11 04:13:17 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10 Jan 2004 at 19:15, Holger Krull wrote:
> Kristian Rink schrieb:
> > workstations which at night run xcopy /d to copy files from the 
> 
> > files or directories I am copying there - if they already exist
on the 
> > samba machine, they're obviously updated, but their timestamp
doesn't 
> 
> > After playing around with dos filetime and fake directory create 
> > filetimes without any success: Can anyone enlighten me in this
topic?

<Sorry for posting here, I subscribed after the first message>

What systems are in use?  I ask because I had a similar
always-updating problem when mirroring a website onto a FAT32
partition.  FAT's timestamps are only kept to 2-second precision
(IIRC), but the website was on EXT2.  The FAT system appeared to
round the timestamps *down*, so every time wget compared them it
thought my copy was old.  I found that putting a 'touch *' at the end
of that script took care of the problem.

If that really is the cause of your problem, you could put an extra
command in those BAT files ("copy C:\something .\update.now") to
signal a cron job that it needs to touch everything.  It would be
nice to have a "--plus-one-minute" option in touch...

- -- 
Through the modem, off the server, over the T1, past the frame-relay,
< < NOTHIN' BUT NET > >
 
Daniel Johnson
Progman2000 at usa.net
http://dannyj.come.to/
Public PGP Keys & other info: http://dannyj.come.to/pgp/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32) - GPGshell v2.95

iD8DBQFAAM1F6vGcUBY+ge8RAoYwAKCco5UJaDsBcSH0RvaQ2otD43hm+QCg/bof
xyL3DdtJGBnkFKDuigBUfo8=
=6y8f
-----END PGP SIGNATURE-----



More information about the samba mailing list