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.
DescriptionPatrik 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 2RHEL 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 7RHEL 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.
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
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
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.