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 attachment 68202 [details, diff] A patch that fixes the described problem.
Created attachment 68211 [details, diff] 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. ***