Your message dated Wed, 20 Aug 2025 09:35:14 +0200
with message-id <[email protected]>
and subject line Re: --preserve-modification-time does not work on symlinks
has caused the Debian Bug report #885163,
regarding --preserve-modification-time does not work on symlinks
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
885163: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885163
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
X-debbugs-cc: [email protected]
Package: cpio
Version: 2.12+dfsg-6
'-m'
'--preserve-modification-time'
[*note copy-in::,*note copy-pass::]
Retain previous file modification times when creating files.
does not work on symlinks!
$ ls n|cpio -o|(cd tt && cpio -tv)
1 block
lrwxrwxrwx 1 jidanni jidanni 1 Dec 25 18:36 n -> m
1 block
$ ls n|cpio -o|(cd tt && cpio -idvm)
1 block
n
1 block
$ ls -l tt
total 0
lrwxrwxrwx 1 jidanni jidanni 1 12-25 18:38 n -> m
The user must make a second pass, using touch --no-dereference -d ...
to restore the dates to the original times.
Why is this important?
Well scripts that check if we have cpio'ed all the current versions of a
list of files will say that we failed.
--- End Message ---
--- Begin Message ---
Version: 2.15+dfsg-1
This was fixed by upstream in version 2.15 with (upstream) commit
a3eb338a40750ecfd73de7054d44e69008866621.
--- End Message ---