Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
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=68202) [edit] A patch that fixes the described problem.
Created an attachment (id=68211) [edit] 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.
added to 5.3.0-r1
*** Bug 106133 has been marked as a duplicate of this bug. ***