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

bugs at busybox.net bugs at busybox.net
Sun Jul 31 22:34:55 UTC 2005


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             01-27-2005 07:10 PST
Last Modified:              07-31-2005 15:34 PDT
====================================================================== 
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 

---------------------------------------------------------------------- 
 pgf - 07-19-05 13:47  
---------------------------------------------------------------------- 
applied in svn 10862 

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 
07-19-05 13:47  pgf            Status                   assigned => resolved
07-19-05 13:47  pgf            Resolution               open => fixed       
07-19-05 13:47  pgf            Note Added: 0000305                          
07-31-05 15:34  vapier         Status                   resolved => closed  
======================================================================




More information about the busybox-cvs mailing list