GNU bug report logs - #14880
cp copy birth time

Previous Next

Package: coreutils;

Reported by: Enda <enda_k2 <at> yahoo.com>

Date: Tue, 16 Jul 2013 14:43:02 UTC

Severity: normal

Tags: notabug

Merged with 14703

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14880 in the body.
You can then email your comments to 14880 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#14880; Package coreutils. (Tue, 16 Jul 2013 14:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Enda <enda_k2 <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 16 Jul 2013 14:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Enda <enda_k2 <at> yahoo.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: cp copy birth time
Date: Tue, 16 Jul 2013 07:42:18 -0700 (PDT)
[Message part 1 (text/plain, inline)]
Copying a file using cp on a NTFS filesystem to an ext4 filesystem does not copy the birth time:

$ cp --preserve=all ntfs.txt ~


$ stat ~/ntfs.txt 
...
 Birth: -



-- Enda
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#14880; Package coreutils. (Tue, 16 Jul 2013 14:49:02 GMT) Full text and rfc822 format available.

Message #8 received at 14880 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Enda <enda_k2 <at> yahoo.com>
Cc: 14880 <at> debbugs.gnu.org
Subject: Re: bug#14880: cp copy birth time
Date: Tue, 16 Jul 2013 07:48:24 -0700
On 07/16/2013 07:42 AM, Enda wrote:
> Copying a file using cp on a NTFS filesystem to an ext4 filesystem does not copy the birth time:

You don't say what system you're running on, but I presume
it's one where the system doesn't let you set the birth time.
If so, please file a bug report with the kernel developers.
If not, please let us know more details about your system and
about how coreutils is configured.




Information forwarded to bug-coreutils <at> gnu.org:
bug#14880; Package coreutils. (Tue, 16 Jul 2013 15:15:03 GMT) Full text and rfc822 format available.

Message #11 received at 14880 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Enda <enda_k2 <at> yahoo.com>
Cc: 14880 <at> debbugs.gnu.org
Subject: Re: bug#14880: cp copy birth time
Date: Tue, 16 Jul 2013 16:14:52 +0100
forcemerge 14703 14880
stop

On 07/16/2013 03:42 PM, Enda wrote:
> Copying a file using cp on a NTFS filesystem to an ext4 filesystem does not copy the birth time:
> 
> $ cp --preserve=all ntfs.txt ~
> 
> 
> $ stat ~/ntfs.txt 
> ...
>  Birth: -

While not exactly the same issue,
it's probably due to the same reason
I mentioned to you in http://bugs.gnu.org/14703
So I'm merging these for now.

thanks,
Pádraig.





Forcibly Merged 14703 14880. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Tue, 16 Jul 2013 15:15:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#14880; Package coreutils. (Tue, 16 Jul 2013 15:21:01 GMT) Full text and rfc822 format available.

Message #16 received at 14880 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Enda <enda_k2 <at> yahoo.com>
Cc: 14880 <at> debbugs.gnu.org
Subject: Re: bug#14880: cp copy birth time
Date: Tue, 16 Jul 2013 09:20:32 -0600
[Message part 1 (text/plain, inline)]
On 07/16/2013 08:42 AM, Enda wrote:
> Copying a file using cp on a NTFS filesystem to an ext4 filesystem does not copy the birth time:
> 
> $ cp --preserve=all ntfs.txt ~
> 
> 
> $ stat ~/ntfs.txt 
> ...
>  Birth: -

You CAN'T copy birth time.  There is no file system that lets you set
birth time to anything other than the time when the file is created.
But as the copy is created at the time you run cp, if the destination
supports birth time, by the very definition of brith time the
destination will record the time cp was run, and not the time of the
original source.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

Added tag(s) notabug. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 21 Oct 2018 20:50:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 14703 <at> debbugs.gnu.org and Enda <enda_k2 <at> yahoo.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 21 Oct 2018 20:50:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 19 Nov 2018 12:24:04 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Zoran Dželajlija <debbugs.gnu.org-7c2244 <at> jelly.kladdkaka.org> to control <at> debbugs.gnu.org. (Tue, 21 May 2019 17:47:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 20 Jun 2019 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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