"rcp -r" will truncate the first character of a directory name which is copied recursively.

Solution In Progress - Updated -

Issue

  • "rcp -r" will truncate the first character of a directory name which is copied recursively.
    Run these commands:
  rm -rf d1 d2
  mkdir d1 d1/subdir1 d2
  rcp -r d1/subdir1 localhost:d2/
  ls d1
  ls d2
  • output is:
  subdir1
  ubdir1         <=== missing leading s

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content