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
[EMAIL PROTECTED]
Recognition Research Inc.





_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to