From: SourceForge.net <no...@so...> - 2006-02-15 16:15:04
|
Bugs item #1432269, was opened at 2006-02-15 17:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1432269&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 36. File System Group: current: 8.4.12 Status: Open Resolution: None Priority: 5 Submitted By: Matthias Kraft (matzek) Assigned to: Vince Darley (vincentdarley) Summary: [file copy] fails to recursively copy directory if it exists Initial Comment: Hi *, copying directories recursively fails in certain circumstances. Easiest way to reproduce: Have a directory foo/ and do not have a file/directory bar (otherwise it would just be a step less). % file copy -- foo bar -> Now we have a directory bar/ % file copy -- foo bar -> Fine too, we now have a directory bar/foo/ % file copy -- foo bar error copying "foo" to "bar/foo": file already exists -> Which is true, but nonsense as we talk about directories in both cases. It should just detect that directory exists already and continue with copying the stuff below foo/. See POSIX behavior of "cp -R" for reference. Tested on SuSE Linux 10.0. kind regards -- Matthias Kraft ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1432269&group_id=10894 |