2.9 cpio -pm file modification time not retained for new directories
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Apr 24 17:21:00 GMT 2009
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/
More information about the Cygwin
mailing list