[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] bug in cpio-2.6
From: |
Mike Castle |
Subject: |
[Bug-cpio] bug in cpio-2.6 |
Date: |
Fri, 7 Jan 2005 22:42:56 -0800 |
User-agent: |
Mutt/1.5.6i |
It appears that cpio-2.6 is acting like -L is passed when using in pass
through mode.
I think this is a VERY serious bug, as people are going to be suddenly
surprised when they copy over a multi gigabyte file rather than a symlink.
:-/
Here is an example:
address@hidden:37pm]~(543) ls -l u v
u:
total 4
-rw------- 1 nexus users 29 Jan 7 22:27 a
lrwxrwxrwx 1 nexus users 1 Jan 7 22:28 b -> a
v:
total 0
address@hidden:39pm]~(544) find u -depth | /usr/src/cpio/cpio-2.5-build/cpio
-pdmv v
v/u/a
v/u/b
v/u
1 block
address@hidden:39pm]~(545) ls -l v/u
total 4
-rw------- 1 nexus users 29 Jan 7 22:27 a
lrwxrwxrwx 1 nexus users 1 Jan 7 22:39 b -> a
address@hidden:39pm]~(546) rm -rf v/u
address@hidden:39pm]~(547) find u -depth | /usr/src/cpio/cpio-2.6-build/cpio
-pdmv v
address@hidden:39pm]~(549) find u -depth |
/usr/src/cpio/cpio-2.6-build/src/cpio -pdmv v
v/u/a
v/u/b
v/u
1 block
address@hidden:40pm]~(550) ls -l v/u
total 8
-rw------- 1 nexus users 29 Jan 7 22:27 a
-rw------- 1 nexus users 29 Jan 7 22:27 b
address@hidden:40pm]~(551)
--
Mike Castle address@hidden www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
- [Bug-cpio] bug in cpio-2.6,
Mike Castle <=