Package: cpio
Version: 2.5-1.2
Severity: normal
File: /bin/cpio

The modification time isn't preserved despite the -m option.

Also, after the cpio process, the atime is prior to the ctime (at least for
the example that follows).

cp exhibits a similar, if not identical behavior.

*** reportbug_cpio.txt
ls -l --time=atime --time-style=full-iso /etc/hostname
-rw-r--r--  1 root root 8 2005-08-01 15:32:56.509597552 -0400 /etc/hostname

ls -l --time=ctime --time-style=full-iso /etc/hostname
-rw-r--r--  1 root root 8 2005-07-24 16:45:00.000000000 -0400 /etc/hostname

find /etc/hostnam* | cpio -mpd /tmp
1 block

ls -l --time=atime --time-style=full-iso /tmp/hostname
-rw-r--r--  1 root root 8 2005-08-01 14:47:19.000000000 -0400 /tmp/hostname

ls -l --time=ctime --time-style=full-iso /tmp/hostname
-rw-r--r--  1 root root 8 2005-08-01 15:32:56.509597552 -0400 /tmp/hostname


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cpio depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to