Ticket #2230 (closed defect: duplicate)
problem copying file containing #a#
Reported by: | sadman | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-vfs | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
steps to reproduce:
touch '#a#'
press F5 to copy that file into some other directory
Cannot create target file "/tmp/#a#"
Success (0)
cp works so it's not filesystem issue
Change History
comment:1 Changed 15 years ago by andrew_b
- Status changed from new to closed
- Resolution set to invalid
comment:2 follow-up: ↓ 3 Changed 15 years ago by sadman
well, it's not about trying, i have an actual file that has that sequence in the filename (in the middle of it) and mc refuses to copy it
renaming the file is not a solution to the problem
comment:3 in reply to: ↑ 2 Changed 15 years ago by andrew_b
- Status changed from closed to reopened
- Component changed from mc-core to mc-vfs
- Resolution invalid deleted
Replying to sadman:
i have an actual file that has that sequence in the filename (in the middle of it)
You should start your bug report with that.
Really, file name like "qqq#a#qqq" is parsed wrong. The VFS prefix must not be found in the middle of file name.
comment:4 Changed 15 years ago by sadman
actually trying to find vfs stuff in the filename of an existing source file sounds wrong
Try another filename: #b#.
a is a name of VFS plugin (see /usr/libexec/mc/extfs.d/a+). Therefore #a is interpreted as a name of VFS.