Bug 802471 - [RFE] bash compatible glob pattern matching
Summary: [RFE] bash compatible glob pattern matching
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vsftpd
Version: 6.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 6.4
Assignee: Jiri Skala
QA Contact: Dalibor Pospíšil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-12 16:13 UTC by Dalibor Pospíšil
Modified: 2018-12-03 17:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-04 15:13:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Dalibor Pospíšil 2012-03-12 16:13:54 UTC
Description of problem:

In change log can be found that vsftpd can match files by glob pattern.
I found that somethink?* does work while somethink*? respectively *?somethink does not. I foundout that bash and tcl use glob pattern matching and both can match *? and ?*. There can be more differencies. I propose to use the same implementation as in bash or tcl (string match).

Version-Release number of selected component (if applicable):

vsftpd-2.2.2-11.el6.x86_64.rpm

How reproducible:

always

Steps to Reproduce:
1. login to ftp
2. create file test
3. ls te?*
4. ls *?st
  
Actual results:

ls *?st does not list anythink

Expected results:

ls should list test file

Additional info:

Definitions of glob can be found here http://en.wikipedia.org/wiki/Glob_%28programming%29

Comment 2 RHEL Program Management 2012-05-03 04:39:55 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 RHEL Program Management 2012-07-10 05:59:32 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 RHEL Program Management 2012-07-11 02:03:22 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.


Note You need to log in before you can comment on or make changes to this bug.