Bug 802471

Summary: [RFE] bash compatible glob pattern matching
Product: Red Hat Enterprise Linux 6 Reporter: Dalibor Pospíšil <dapospis>
Component: vsftpdAssignee: Jiri Skala <jskala>
Status: CLOSED WONTFIX QA Contact: Dalibor Pospíšil <dapospis>
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: aglotov, jraju, syeghiay
Target Milestone: rcKeywords: FutureFeature
Target Release: 6.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-04 15:13:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.