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

Roland Illig savannah-bounces at gnu.org
Wed May 18 01:56:55 UTC 2005


URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13112>

                 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

    _______________________________________________________

Details:

To reproduce this, do the following:

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

(on the other panel)
select something
copy...
enter

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:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13112>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




More information about the mc-devel mailing list