Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 106133

Summary: sys-apps/coreutils - cp --parents broken, fixed in current CVS version, patch in ebuild possible?
Product: Gentoo Linux Reporter: Matthias Hoermann <taladar>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://lists.gnu.org/archive/html/bug-coreutils/2005-01/msg00130.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthias Hoermann 2005-09-15 18:15:51 UTC
See URL and following messages in that thread for detailed bug description 
(Coreutils Bug Mailinglist). Summary:
cp --parents reports error when called with an absolute path as source due to a 
wrong number of slashes in the generated target path.

Reproducible: Always
Steps to Reproduce:
see URL
short variant (/tmp/bin should not exist):
cp --parents /bin/cp /tmp

Actual Results:  
error message : cp: failed to get attributes of 'bin': No such file or directory
files are copied but permissions are wrong 

Expected Results:  
copy files while creating necessary directories with correct permissions

for additional information of my testcase prior to finding the mailing list see 
forum thread: http://forums.gentoo.org/viewtopic-t-381398.html
Comment 1 SpanKY gentoo-dev 2005-09-16 06:19:05 UTC

*** This bug has been marked as a duplicate of 105639 ***