This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 2.9 cpio -pm file modification time not retained for new directories
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Apr 2009 18:30:39 +0200
- Subject: Re: 2.9 cpio -pm file modification time not retained for new directories
- References: <49F19F8B.7090601@pobox.com>
- Reply-to: cygwin at cygwin dot com
On Apr 24 12:16, Michael Ryan wrote:
> Hello,
>
> When I run a command similar to this:
>
> find srcdir -depth | cpio -pdvm archive-dir
>
> cpio v2.9 does not retain the modification timestamp of non-empty
> directories under srcdir that do not already exist in archive-dir, i.e.
> when cpio creates a new non-empty directory under archive-dir its mtime
> is set to the time of its creation, not the mtime of the directory it
> copied from srcdir. If the directory under srcdir is empty (has no
> files in it) the mtime is retained correctly.
Thanks for the report. The Cygwin version of cpio has been built from
the vanilla upstream sources of cpio-2.9 and it appears this is an
upstream bug. I found that already quite a few bugfixes exist for cpio
2.9 and AFAICS this bug should be fixed by one of them as well.
I'm somewhat time constraint in the next couple of days, but I will
update cpio to all the bugfixes I have available, eventually.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/