Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Promise 378 controller
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Deny directory listing on vsftpd anonymous upload

Deny directory listing on vsftpd anonymous upload

2007-07-24       - By Nikkil? Tommi

 Back
Reply:     1     2     3     4     5  

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@(protected) [mailto:redhat-list-bounces@(protected)] 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@(protected)> wrote:
>
> > My question is: is it possible to further configure the vsftp deamon so
> that 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@(protected)?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list