GNU bug report logs - #10900
[cp] "cp -r a a" gives error message but copies anyway

Previous Next

Package: coreutils;

Reported by: subratkumar <subratkumar.o <at> globaledgesoft.com>

Date: Mon, 27 Feb 2012 19:14:01 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: subratkumar <subratkumar.o <at> globaledgesoft.com>
To: 10900 <at> debbugs.gnu.org
Subject: bug#10900: Regarding the observed bugs in cp
Date: Mon, 27 Feb 2012 21:57:35 +0530
1. cp -r a a
cp: cannot copy a directory, `a', into itself, `a/a'
as per this the it is not allowable to copy a into a.But its doing
2. cp -s b ../
cp: `../b': can make relative symbolic links only in current directory
its a symbolic link and should not restrict to current directory.
i have checked it in kernel 2.6.21.5 and 3.04 .Please check it and let 
me know if its corrected or not.
Thanks and Regards
Subrat Kumar Ojha





This bug report was last modified 6 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.