[Samba] File timestamp and robocopy

Bruno Guerreiro bruno.guerreiro at ine.pt
Tue Apr 19 16:29:09 GMT 2005


Hi all,
I'm trying to sincronize a share from a W2K to a samba 3.0.13-1 server.
The problem i'm having has to do with the timestamps of the file that causes
every file to get recopied by robocopy every time.

Example:

Doing a stat on the Samba side:

  File: `client.dat'
  Size: 7804            Blocks: 16         IO Block: 4096   regular file
Device: 6807h/26631d    Inode: 8815015     Links: 1
Access: (0775/-rwxrwxr-x)  Uid: ( 2080/fileadmin)   Gid: (  512/Domain
Admins)
Access: 2005-04-19 13:28:22.000000000 +0100
Modify: 2005-04-19 13:28:22.000000000 +0100
Change: 2005-04-19 14:26:04.000000000 +0100

Mounting the windows share and issuing the comand over the original file:

  File: `client.dat'
  Size: 7804            Blocks: 16         IO Block: 4096   regular file
Device: 12h/18d Inode: 1912        Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2005-04-19 14:26:05.265625000 +0100
Modify: 2005-04-19 12:28:22.437500000 +0100
Change: 2004-02-05 16:33:13.557250000 +0000

I've came across this thread (
http://lists.samba.org/archive/samba/2004-January/078315.html ), but i just
don't understand this "solution", and to be honest it doesn't seem a
solution.

Any ideas?

Tanx in advance,
Bruno Guerreiro 


More information about the samba mailing list