Ticket #2838 (closed defect: fixed)
'Enter' action on a rpm file containing space character in filename
Reported by: | gv | Owned by: | slavazanko |
---|---|---|---|
Priority: | critical | Milestone: | 4.8.5 |
Component: | mc-vfs | Version: | master |
Keywords: | Cc: | gabriel@… | |
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master committed-stable |
Description
- cp /path/to/any-file.rpm '/tmp/a n y - f i l e.rpm'
- run /usr/bin/mc, go to /tmp
- Press Enter on 'a n y - f i l e.rpm' file
Error
Inconsistent extfs archive
error: open of /tmp/a\ failed: No such file or directory
error: open of n\ failed: No such file or directory
error: open of y\ failed: No such file or directory
error: open of -\ failed: No such file or directory
error: open of f\ failed: No such file or directory
error: open of i\ failed: No such file or directory
error: open of l\ failed: No such file or directory
error: open of e.rpm failed: No such file or directory
# /usr/libexec/mc/extfs.d/rpm list /tmp/a\ n\ y\ -\ f\ i\ l\ e.rpm
error: open of /tmp/a\ failed: No such file or directory
error: open of n\ failed: No such file or directory
error: open of y\ failed: No such file or directory
error: open of -\ failed: No such file or directory
error: open of f\ failed: No such file or directory
error: open of i\ failed: No such file or directory
error: open of l\ failed: No such file or directory
error: open of e.rpm failed: No such file or directory
-r--r--r-- 1 root root 0 Jun 29 15:12 ERROR
Change History
comment:1 Changed 12 years ago by andrew_b
- Priority changed from minor to critical
- Milestone changed from Future Releases to 4.8.4
comment:2 Changed 12 years ago by slavazanko
- Status changed from new to accepted
- Owner set to slavazanko
comment:3 Changed 12 years ago by slavazanko
- Keywords stable-candidate added
- Branch state changed from no branch to on review
Created branch 2838_spaces_in_rpm
Review, please.
comment:6 Changed 12 years ago by angel_il
- Votes for changeset changed from andrew_b to andrew_b angel_il
- Branch state changed from on review to approved