bug#22584: cp could be more precise than "Not a directory"

2018-10-25 Thread Assaf Gordon
severity 22584 wishlist tags 22584 wontfix close 22584 stop (triaging old bugs) On Tue, Feb 09, 2016 at 08:29:12AM +0100, Bernhard Voelker wrote: > On 02/08/2016 10:28 PM, 積丹尼 Dan Jacobson wrote: > > Ah ha, they just should have returned what the system calls said in the > > first place, and not

bug#22584: cp could be more precise than "Not a directory"

2016-02-08 Thread 積丹尼 Dan Jacobson
No I am talking about when there is a slash, but no such file or directory. > "LSS" == Leslie S Satenstein writes: LSS> Should that be cp .profile /tmp/My_DocVments #no trailing slash

bug#22584: cp could be more precise than "Not a directory"

2016-02-08 Thread Assaf Gordon
Hello Dan, A bit more technical information (though not a resolution): On 02/07/2016 11:19 AM, 積丹尼 Dan Jacobson wrote: $ cp .profile /tmp/My_DocVments/ cp: cannot create regular file '/tmp/My_DocVments/': Not a directory Well can't it be more precise: No such directory nor file. This is in

bug#22584: cp could be more precise than "Not a directory"

2016-02-08 Thread 積丹尼 Dan Jacobson
Ah ha, they just should have returned what the system calls said in the first place, and not tinker with the output! Them tinkering with the output only makes things worse.

bug#22584: cp could be more precise than "Not a directory"

2016-02-07 Thread 積丹尼 Dan Jacobson
$ cp .profile /tmp/My_DocVments/ cp: cannot create regular file '/tmp/My_DocVments/': Not a directory Well can't it be more precise: No such directory nor file.