You are not logged in.

#1 2013-10-18 09:40:12

PHF
Member
Registered: 2013-10-17
Posts: 8

vsftpd: allow writeable root for anonymous user

Hi,

I try to set up a simple FTP server which allows anonymous users to upload file into the root directory.
I use the directive allow_writeable_chroot but I still get the following error:

500 OOPS: vsftpd: refusing to run with writable root inside chroot()

Here is my vsftpd.conf:

anonymous_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
listen=YES
allow_writeable_chroot=YES

I also tried to play with anon_root but the error is the same if the given root is writable.

Any help would be appreciated.

EDIT
I found the following entry in the vsftpd changelog (v3.0.0):

- Add new config setting "allow_writeable_chroot" to help people in a bit of
a spot with the v2.3.5 defensive change. Only applies to non-anonymous.

So, no way to make it work with anonymous users?

Last edited by PHF (2013-10-18 09:57:43)

Offline

Board footer

Powered by FluxBB