GNU bug report logs - #12335
[cp] "cp -s" cannot create symbolic link in parent dir

Previous Next

Package: coreutils;

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

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

Severity: normal

To reply to this bug, email your comments to 12335 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#10900; Package coreutils. (Mon, 27 Feb 2012 19:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to subratkumar <subratkumar.o <at> globaledgesoft.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 27 Feb 2012 19:14:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: subratkumar <subratkumar.o <at> globaledgesoft.com>
To: bug-coreutils <at> gnu.org
Subject: 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





Information forwarded to bug-coreutils <at> gnu.org:
bug#10900; Package coreutils. (Thu, 30 Aug 2012 08:10:02 GMT) Full text and rfc822 format available.

Message #8 received at 10900 <at> debbugs.gnu.org (full text, mbox):

From: era eriksson <era <at> iki.fi>
To: subratkumar.o <at> globaledgesoft.com
Cc: 10900 <at> debbugs.gnu.org
Subject: Clarification re: Regarding the observed bugs in cp
Date: Thu, 30 Aug 2012 11:08:35 +0300
I stumbled across your recent bug report for cp
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10900
and I was wondering if you could follow up with a bit of additional
information.  What did you expect to happen, and what should be fixed in
order for cp to behave like you expect?

Thanks for your bug report!  I am but a mere bystander, but I appreciate
your effort.

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.




Added tag(s) moreinfo. Request was from era eriksson <era <at> iki.fi> to control <at> debbugs.gnu.org. (Thu, 30 Aug 2012 08:27:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#10900; Package coreutils. (Fri, 31 Aug 2012 04:41:02 GMT) Full text and rfc822 format available.

Message #13 received at 10900 <at> debbugs.gnu.org (full text, mbox):

From: era eriksson <era <at> iki.fi>
To: 10900 <at> debbugs.gnu.org
Cc: subratkumar <subratkumar.o <at> globaledgesoft.com>
Subject: Re: Clarification re: Regarding the observed bugs in cp
Date: Fri, 31 Aug 2012 07:39:06 +0300
[Message part 1 (text/plain, inline)]
Forwarding a replyI only received in private.  Please keep the Cc: on
any followups.

From: subratkumar <subratkumar.o <at> globaledgesoft.com>
To: era eriksson <era <at> iki.fi>
Date: Thu, 30 Aug 2012 17:04

On Thursday 30 August 2012 01:38 PM, era eriksson wrote:

I stumbled across your recent bug report for cp
[1]http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10900
and I was wondering if you could follow up with a bit of additional
information.  What did you expect to happen, and what should be fixed in
order for cp to behave like you expect?

Thanks for your bug report!  I am but a mere bystander, but I appreciate
your effort.

/* era */


I expected :
1.cp -r dir1 dir1 (should not copy dir1 inside dir1) ,it was coming with an erro
r message but it was copying inside dir1 ,please check it inside dir1.
2.cp -s file1 ../dir1/ (symlinking out side the current directory should be allo
wed) but it came with error symlink restricted to  current directory.
Please have a look. Let me know about these.

--
------------------------------------------------
Thanks & regards
Subrat Kumar Ojha
PMG, Global Edge Software Ltd.
Mob - +91 - 9620262307

References

1. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10900
[Message part 2 (text/html, inline)]
[subratkumar_o.vcf (text/x-vcard, attachment)]

Removed tag(s) moreinfo. Request was from era eriksson <era <at> iki.fi> to control <at> debbugs.gnu.org. (Sun, 02 Sep 2012 14:14:02 GMT) Full text and rfc822 format available.

bug 10900 cloned as bug 12335. Request was from era eriksson <era <at> iki.fi> to control <at> debbugs.gnu.org. (Sun, 02 Sep 2012 14:14:02 GMT) Full text and rfc822 format available.

Changed bug title to '[cp] "cp -s" cannot create symbolic link in parent dir' from 'Regarding the observed bugs in cp' Request was from era eriksson <era <at> iki.fi> to control <at> debbugs.gnu.org. (Sun, 02 Sep 2012 14:14:02 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 292 days ago.

Previous Next


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