bug-coreutils
[Top][All Lists]
Advanced

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

cp incorrectly generating "cannot copy cyclic symbolic link errors"


From: Robert Schultheis
Subject: cp incorrectly generating "cannot copy cyclic symbolic link errors"
Date: Mon, 12 Jul 2004 13:45:48 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

I have discovered a bug in cp (fileutils) 4.1, and I am wondering if it has been fixed in later versions so I can notify our admins to upgrade our core-utils which is something I can not do myself , however I will need a dang good reason for them to do it.

I am running on Win2000 with SP4 which is likely a contributing factor.

I am trying to recursively copy a directory into another directory. There are no symbolically linked files with the source directory. The copy fails with this set of messages:

cp: cannot copy cyclic symbolic link `ts/yo/yo'

The exact command I typed is this:
cp -rv ts/* ts2

The exact output is this:
`ts/yo' -> `ts2/yo'
cp: cannot copy cyclic symbolic link `ts/yo/yo'

My directory structure is this:

ts
 |-yo
    |-yo
       |-p.txt

ts2 - empty directory

The bug will happen any time I attempt a recursive copy of a directory with at least 2 levels of sub-directory there-in.

I can't seem to find anything about this issue within this archives of this mailing list, does anyone have any idea if this issue is known and/or has it been fixed in a later version?

Thanks,
Rob Schultheis
address@hidden
Recognition Research Inc.







reply via email to

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