[Bug 235438] cp -R command not working properly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 2 20:59:33 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235438

            Bug ID: 235438
           Summary: cp -R command not working properly
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: ioannis.vranos at gmail.com

Created attachment 201655
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201655&action=edit
It shows the cp -R directory bug

The command cp -R  has a bug when copying.

An example:

cp -R  Downloads  Downloads

produces a recursive copying, until it reaches some recursion limits.


See the screenshot attached.


It should follow the Linux cp -R behaviour:

Create only one copy of the directory, in itself, and then quit.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list