Ticket #14 (closed defect: fixed)

Opened 9 years ago

Last modified 4 years ago

savannah: Cannot copy to a directory called "*"

Reported by: rillig Owned by:
Priority: major Milestone: 4.7.0-pre1
Component: mc-vfs Version:
Keywords: Cc:
Blocked By: #157 Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by ossi) (diff)

Original: http://savannah.gnu.org/bugs/?13112

Submitted by:Roland Illig <rillig>Submitted on:Wed 18 May 2005 01:56:54 AM UTC
Category:CoreSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:current (CVS or snapshot)Operating System:All

Original submission:

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. 

Comment 1 by Roland Illig <rillig> at Wed 18 May 2005 04:26:09 AM UTC:

The colon is also a character reserved by the vfs layer.

Comment 2 by Oswald Buddenhagen <ossi> at Wed 18 May 2005 05:44:43 AM UTC:

i once suggested mc participating in the XDG VFS standardization 
process, but proski seems to prefer taking a passive role ...

Comment 3 by Leonard den Ottolander <leonardjo> at Fri 11 Nov 2005 11:06:04 PM UTC:

Behaviour has changed: File now ends up in the directory below "*".

Change History

comment:1 Changed 9 years ago by winnie

  • Milestone set to VFS Standardisation

comment:2 Changed 9 years ago by metux

  • Blocked By 157 added

comment:3 Changed 9 years ago by angel_il

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from VFS Standardisation to 4.7.0-pre1

in master fixed

comment:4 Changed 4 years ago by ossi

  • Description modified (diff)
  • Branch state set to no branch
  • Reporter changed from slavazanko to rillig
Note: See TracTickets for help on using tickets.