GNU bug report logs - #9513
cp -p fails to preserve permissions

Previous Next

Package: coreutils;

Reported by: Charles ELSAESSER WebmailOrange <charles.elsaesser <at> wanadoo.fr>

Date: Thu, 15 Sep 2011 13:24:01 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Charles ELSAESSER WebmailOrange <charles.elsaesser <at> wanadoo.fr>
Cc: 9513 <at> debbugs.gnu.org
Subject: bug#9513: improvement remark for "cp"
Date: Thu, 15 Sep 2011 09:41:52 -0700
On 09/15/11 05:23, Charles ELSAESSER WebmailOrange wrote:
> cp -p file1 file2
> 
> does not preserve timestamp.

That looks like a bug.

Can you please try it with coreutils 8.13?  That has some
fixes in this area; the version you're using (8.4) is a bit old.

ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.13.tar.gz

If you're still seeing the problem with 8.13, can you
please send your config.log (when building coreutils)
and the output of the shell command "strace cp -p file1 file2"?
Thanks.




This bug report was last modified 6 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.