[BusyBox 0001511]: cp -rp don't copy symbolic link (busybox 1.7.1)
bugs at busybox.net
bugs at busybox.net
Tue Sep 25 14:04:15 UTC 2007
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=1511
======================================================================
Reported By: ThomasHawk
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1511
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 09-25-2007 07:04 PDT
Last Modified: 09-25-2007 07:04 PDT
======================================================================
Summary: 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
======================================================================
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
======================================================================
More information about the busybox-cvs
mailing list