wrong ownership in copy-in mode

Bug #695299 reported by rennradler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpio (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cpio

cpio 2.10 has a nasty bug. The ownership of directories is not set correctly in some cases in copy-in or copy-pass mode when executed as root. The problem has been fixed with cpio 2.11 (see the cpio HP) but 10.04 is still shipped with the broken version.

The bug is really critical, because it will mess up things when you use cpio to move a Linux installation from one partition to an other. If you do something like this:

find . -depth -print0 |cpio -pdm --null /path/to/new/location

you will end up with a broken system because many directories get the wrong ownership. That's exactly what happened to me.

If you want to see the bug here is a test file:

http://forum.ubuntuusers.de/topic/cpio-problem-ownership-beim-auspacken-falsch/#post-2445119

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.