RE: Deny directory listing on vsftpd anonymous upload
- From: Nikkilä Tommi <tommi.nikkila@xxxxxxxxx>
- Date: Tue, 24 Jul 2007 10:17:27 +0200
If you mean the dirlist_enable option that is a definite no-no, since it prohibits the directory listing from everybody and I need the other users to be able to see the contents of their respective directories. Also the deny_file and hide_file options are out unless they could somehow be tweaked to rule out [directory]/* and only to be effective on the anonymous user. I guess a anon_hide_file option would be a needed addition...
I tried umasking the uploaded files but it seems that at least reading is *always* allowed for the uploaded files and so they cannot be hidden...
Your hint made me think, though, and after numerous tries there really seems to be a way to do this after all:
chmod u-r /anon/ftp/root/upload_directory
seems to do trick. Hope I just don't have the need for anonupl user to access the directory within shell... With vsftpd the denying of directory listing seems to be impossible in my case.
--
Tommi Nikkilä
-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Gaddis, Jeremy L.
Sent: 24. heinäkuuta 2007 10:22
To: General Red Hat Linux discussion list
Subject: Re: Deny directory listing on vsftpd anonymous upload
On 7/24/07, Nikkilä Tommi <tommi.nikkila@xxxxxxxxx> wrote:
My question is: is it possible to further configure the vsftp deamon sothat after the upload the anonymous user could not see the directory listing
(and thus preventing the viewing of the file names in the directory)? Or is
this done by the OS? I am currently using Red Hat's ES 4 (Update 4).
Have you seen http://kbase.redhat.com/faq/FAQ_44_5988.shtm ?
--
Jeremy L. Gaddis
http://www.jeremygaddis.com/
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- Re: Deny directory listing on vsftpd anonymous upload
- From: Nigel Wade
- Re: Deny directory listing on vsftpd anonymous upload
- References:
- Deny directory listing on vsftpd anonymous upload
- From: Nikkilä Tommi
- Re: Deny directory listing on vsftpd anonymous upload
- From: Gaddis, Jeremy L.
- Deny directory listing on vsftpd anonymous upload
- Prev by Date: RE: ftp/sftp user account lockout threshold
- Next by Date: Re: Deny directory listing on vsftpd anonymous upload
- Previous by thread: Re: Deny directory listing on vsftpd anonymous upload
- Next by thread: Re: Deny directory listing on vsftpd anonymous upload
- Index(es):