[BusyBox] [BusyBox 0000067]: cp -p produces misleading error message

bugs at busybox.net bugs at busybox.net
Wed Mar 16 20:27:55 UTC 2005


The following issue has been ASSIGNED.
======================================================================
<http://busybox.net/bugs/view.php?id=67> 
======================================================================
Reported By:                vda
Assigned To:                BusyBox
======================================================================
Project:                    BusyBox
Issue ID:                   67
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             01-27-2005 07:10 PST
Last Modified:              03-16-2005 12:27 PST
======================================================================
Summary:                    cp -p produces misleading error message
Description: 
cp -p produces misleading error message:

# ln -s symlink1 file1
# ln -s symlink2 file2
# busybox cp -p symlink1 symlink2
unable to remove symlink2: no such file or directory

Patch fixes this:

# busybox_fixed cp -p symlink1 symlink2
symlink2 exists

However, we still differ from coreutils cp,
is it worth fixing?

# cp -p symlink1 symlink2
#

======================================================================

----------------------------------------------------------------------
 vda - 01-27-05 07:12 
----------------------------------------------------------------------
My bad, I shoudn't type commands...
ln commands should read:

# ln -s file1 symlink1
# ln -s file2 symlink2

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-27-05 07:10 vda            New Issue                                    
01-27-05 07:10 vda            File Added: copy_file.diff                    
01-27-05 07:12 vda            Note Added: 0000028                          
01-27-05 07:13 vda            Issue Monitored: vda                         
03-16-05 12:27 andersen       Assigned To              andersen => BusyBox 
======================================================================




More information about the busybox mailing list