BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001511 [BusyBox] Other major always 09-25-07 07:04 09-25-07 11:07
Reporter ThomasHawk View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001511: cp -rp don't copy symbolic link (busybox 1.7.1)
Description If I have a directory which contains symbolic link eg:
# mkdir /tmp1
# touch /a
# ln -s /a /tmp1/a

if I copy this directory with "cp -rp", busybox copy the file (/a) an not the symbolic link

# cp -rp /tmp1 /tmp2
# ls -lsa /tmp1
   4 drwxr-xr-x 2 root root 4096 Sep 25 16:12 .
   4 drwxr-xr-x 14 root root 4096 Sep 25 16:13 ..
   0 lrwxrwxrwx 1 root root 8 Sep 25 16:12 a -> /a
# ls -lsa /tmp2
   4 drwxr-xr-x 2 root root 4096 Sep 25 16:12 .
   4 drwxr-xr-x 14 root root 4096 Sep 25 16:13 ..
   0 -rw-r--r-- 1 root root 0 Sep 25 16:12 a
Additional Information
Attached Files

- Relationships

- Notes
(0002796)
ThomasHawk
09-25-07 07:14

sorry,

If I add -d (cp -rpd) that correct the problem.

(cp in coreutils don't need -d to preserve links)

Please close this bug. Sorry
 
(0002797)
vda
09-25-07 11:07

Fixed in rev 20024. Thanks.
 

- Issue History
Date Modified Username Field Change
09-25-07 07:04 ThomasHawk New Issue
09-25-07 07:04 ThomasHawk Status new => assigned
09-25-07 07:04 ThomasHawk Assigned To  => BusyBox
09-25-07 07:14 ThomasHawk Note Added: 0002796
09-25-07 11:07 vda Status assigned => closed
09-25-07 11:07 vda Note Added: 0002797
09-25-07 11:07 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker