Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 593f2a2dd34c3385fa40e8b2d533535ca6b82ea2
Ticket: 1432269fffffffffffffffffffffffffffffffff
[file copy] fails to recursively copy directory if it exists
User & Date: matzek on 2006-02-15 16:14:53
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
  4. foundin changed to: "obsolete: 8.4.12"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "matzek"
  9. subsystem changed to: "37. File System"
  10. title changed to:
    [file copy] fails to recursively copy directory if it exists
    
  11. type changed to: "Bug"