[bug #13112] Cannot copy to a directory called "*"


                 Summary: Cannot copy to a directory called "*"
                 Project: GNU Midnight Commander
            Submitted by: rillig
            Submitted on: Mit 18.05.2005 um 01:56
                Category: Core
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: current (CVS or snapshot)
        Platform Version: All



To reproduce this, do the following:

(on one panel)
mkdir "*"
chdir "*"

(on the other panel)
select something

This results in an error message:

    `/tmp/abc/foo.b' and `/tmp/abc/foo.b' are the same file.

Even escaping does not work---I tried to copy to /tmp/abc/\*, but another
error message appears:

    Cannot overwrite directory "/tmp/abc/*"
    File exists (17)

To fix this, we need a simple specification about how pathnames are
interpreted (including @ and # chars) and then we need to implement that
specification. Anything else will continue the inconsistencies we already
have today.


Reply to this item at:


  Nachricht geschickt von/durch Savannah

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