Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 849993

Summary: deny_file, hide_file
Product: Red Hat Enterprise Linux 6 Reporter: Patrik Martinsson <martinsson.patrik>
Component: vsftpdAssignee: Martin Osvald 🛹 <mosvald>
Status: CLOSED ERRATA QA Contact: Stefan Kremen <skremen>
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: aglotov, cww, dapospis, ebenes, jraju, mahajanajay33, moagrawa, santony, skremen, vgaikwad
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vsftpd-2.2.2-15.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1116385 1148839 (view as bug list) Environment:
Last Closed: 2016-05-11 00:52:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1075802, 1116385, 1148839, 1172231, 1269889    

Description Patrik Martinsson 2012-08-21 12:49:48 UTC
Description of problem:

The deny/hide_file-option seems to have changed behaviour between, 
- vsftpd-2.2.2-6.el6_2.1.x86_64
- vsftpd-2.2.2-11.el6.x86_64

Version-Release number of selected component (if applicable):
- vsftpd-2.2.2-6.el6_2.1.x86_64
- vsftpd-2.2.2-11.el6.x86_64

How reproducible:
Always. 

Steps to Reproduce:
1. Add the rows 
deny_file={/etc,/boot}
hide_file={/etc,/boot}
in /etc/vsftpd/vsftpd.conf 

2. Restart vsftpd 
  
Actual results:
Neither of the folders are denied or hidden. 

Expected results:
I would think vsftpd would deny any access to /etc and /boot and also hide those from listings. 
It did so in vsftpd-2.2.2-6.el6_2.1.x86_64.

Additional info:
I don't really understand the implementation of the regexp to use when using these options, however since it worked earlier I guess something has changed. 
The goal is to hide and deny access to various folders.

Comment 2 RHEL Program Management 2012-09-07 05:34:43 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

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

Comment 7 RHEL Program Management 2013-10-14 00:31:10 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

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

Comment 19 Chris Williams 2015-11-02 16:42:08 UTC
*** Bug 1203106 has been marked as a duplicate of this bug. ***

Comment 23 errata-xmlrpc 2016-05-11 00:52:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0935.html

Comment 24 Ajaykumar 2018-09-21 09:43:04 UTC
Hello All,

Thanks for reporting this issue and fix.

Is this fix is also working on RHEL6.9?
I facing same issue on RHEL6.9  also.

Below package is used by me:

- vsftpd-2.2.2-24.el6.x86_64