Hello Thomas,

On Wed, 18 May 2011 21:50:50 +0200
"Thomas Preud'homme" <robo...@celest.fr> wrote:

> Le mercredi 18 mai 2011 21:30:31, Thomas Preud'homme a écrit :
> > Le mercredi 18 mai 2011 21:25:54, Jörg Schütter a écrit :
> > > Hello Thomas
> > > 
> > > On Mon, 16 May 2011 16:05:39 +0200
> > > 
> > > "Thomas Preud'homme" <robo...@celest.fr> wrote:
> > > > Le dimanche 15 mai 2011 11:53:19, vous avez écrit :
> > > > > Package: gcp
> > > > > Version: 0.1.1-2
> > > > > Severity: normal
> > > > 
> > > > You mean gcp --preserve=timestamps, right?
> > > 
> > > Ok, that's my fault. Since copying files without any additional
> > > flag showed the same timestamp (cp uses current time) I never
> > > thought this flag may be necessary.
> > > Using the flag "--preserve=timestamps" solved my issue, thanks.
> > > 
> > > Cheers
> > > 
> > >   Joerg
> > 
> > No problem. But about the behaviour without flag, do you mean that without
> > it, the current time is not used? If true, maybe this could be fixed.
> > 
> > Best regards.
> 
> Sorry, I replied to quickly. By default gcp is configured to use --
> preserve=mode,ownership,timestamps. So --preserve=timestamps will just remove 
> the mode and ownership preservation.
> 
> Is the bug you experience fully reproducible? In other words, does it happen 
> all the time for file >1GB?

Looks like it also happens with small files. Since it doesn't
take so long to copy them, I never detected this.

Original file
-rw-r--r-- 1 joerg joerg 4222414848 2011-04-23 09:36:28.443949038 +0200 BIG_FILE
use cp
-rw-r--r-- 1 joerg joerg 4222414848 2011-05-19 22:01:50.614892869 +0200 
BIG_FILE_cp
use cp -p
-rw-r--r-- 1 joerg joerg 4222414848 2011-04-23 09:36:28.443949038 +0200 
BIG_FILE_cp_p
use gcp
-rw-r--r-- 1 joerg joerg 4222414848 2011-04-23 09:36:28.000000000 +0200 
BIG_FILE_gcp
use gcp --preserver=timestamps
-rw-r--r-- 1 joerg joerg 4222414848 2011-04-23 09:36:28.000000000 +0200 
BIG_FILE_gcp_preserve_timestamps

Original file
-rw-r--r-- 1 joerg joerg 296 2011-04-22 11:21:45.098747179 +0200 SMALL_FILE
use cp
-rw-r--r-- 1 joerg joerg 296 2011-05-19 22:05:57.214409519 +0200 SMALL_FILE_cp
use cp -p
-rw-r--r-- 1 joerg joerg 296 2011-04-22 11:21:45.098747179 +0200 SMALL_FILE_cp_p
use gcp
-rw-r--r-- 1 joerg joerg 296 2011-04-22 11:21:45.000000000 +0200 SMALL_FILE_gcp
use gcp --preserver=timestamps
-rw-r--r-- 1 joerg joerg 296 2011-04-22 11:21:45.000000000 +0200 
SMALL_FILE_gcp_preserve_timestamps

Regards
  Joerg



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to