Bug 105639 - coreutils-5.3.0-r1: the --parents option in 'cp' causes strange error messages
|
Bug#:
105639
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: spock@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: coreutils-5.3.0-r1: the --parents option in 'cp' causes strange error messages
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-09-11 15:31 0000
|
When doing:
cp -pRH --parents /dir1/dir2/dir3/file /tmp/testdir
cp displays the following error message:
failed to get attributes of dir1/dir2/dir3/file
unless it was called with / as the cwd.
The problem is caused by a miscalculated offset passed to re_protect().
Created an attachment (id=68211) [details]
100_all_coreutils-pathname-off-by-one.patch
mmm, no, this should be the correct fix ...
see if it works for me, i cant seem to get attr stuff to work on my box atm
err, see if it works for *you* :)
Yup, it seems to be working just fine with the patch applied.
*** Bug 106133 has been marked as a duplicate of this bug. ***