emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#23213: closed (cp command with -P option odd behav


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#23213: closed (cp command with -P option odd behavior over ssh)
Date: Mon, 04 Apr 2016 14:58:01 +0000

Your message dated Mon, 4 Apr 2016 07:57:40 -0700
with message-id <address@hidden>
and subject line Re: bug#23213: cp command with -P option odd behavior over ssh
has caused the debbugs.gnu.org bug report #23213,
regarding cp command with -P option odd behavior over ssh
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
23213: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23213
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: cp command with -P option odd behavior over ssh Date: Mon, 4 Apr 2016 16:42:57 +0530
Hi Team,

In Linux system, I have created /tmp/123 directory.
---snip---
mkdir -p /tmp/123
---snip---

/tmp/4576 is a non existent directory, now I am executing following cp command
---snip---
cp -vPprf /tmp/123 /tmp/4576
`/tmp/123' -> `/tmp/4576'


ls /tmp/4576
123
---snip---

So above command is successfully copied directory 123 under /tmp/4576

Now I am trying to execute the same command over ssh

----snip---
address@hidden ssh address@hidden -c  'cp -vPprf /tmp/123 /tmp/4576'
address@hidden's password:
cp: missing file arguments
Try `cp --help' for more information.
----snip---

but it's always failing. I have tried the same command on multiple Linux system and found same failure.

Can you please help me why it's failing?
Is it a bug with cp -P option?
Are there any workaround mean any kind of configuration change is needed to get it work?

Thanks,
Kousik



--- End Message ---
--- Begin Message --- Subject: Re: bug#23213: cp command with -P option odd behavior over ssh Date: Mon, 4 Apr 2016 07:57:40 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
On 04/04/2016 04:12 AM, Kousik Mandal wrote:
address@hidden ssh address@hidden -c  'cp -vPprf /tmp/123 /tmp/4576'

ssh -c takes a cipher-spec as an operand, not a command.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]