First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 105639
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michal Januszewski <spock@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
coreutils-5.3.0-cp-parents.patch A patch that fixes the described problem. patch Michal Januszewski 2005-09-11 15:32 0000 509 bytes Details | Diff
100_all_coreutils-pathname-off-by-one.patch 100_all_coreutils-pathname-off-by-one.patch patch SpanKY 2005-09-11 17:45 0000 2.99 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 105639 depends on: Show dependency tree
Show dependency graph
Bug 105639 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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().

------- Comment #1 From Michal Januszewski 2005-09-11 15:32:21 0000 -------
Created an attachment (id=68202) [edit]
A patch that fixes the described problem.

------- Comment #2 From SpanKY 2005-09-11 17:45:13 0000 -------
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

------- Comment #3 From SpanKY 2005-09-11 17:45:27 0000 -------
err, see if it works for *you* :)

------- Comment #4 From Michal Januszewski 2005-09-12 06:07:20 0000 -------
Yup, it seems to be working just fine with the patch applied.

------- Comment #5 From SpanKY 2005-09-12 17:35:30 0000 -------
added to 5.3.0-r1

------- Comment #6 From SpanKY 2005-09-16 06:19:05 0000 -------
*** Bug 106133 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug