vsftp and anonymous upload

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Tue Jun 8 21:30:11 UTC 2004


Hello,

    I hope to get some help on this list eventhough this is not directly
related to fedora. So I would like to set up vsftp to allow anonymous upload.

    By default fedora create ftp / nobody user. I then change the
vsftp.conf file:

anonymous_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_root=/var/ftp/pub/incoming

    I went then in /var/ftp/pub/ created a incoming directory, then:

chown -R ftp incoming
chgrp -R ftp incoming
chmod +rwx incoming

    I restart vsftp, I try to log in:

$ ftp localhost                         /var/ftp/pub/incoming
Connected to localhost (127.0.0.1).
220 Welcome to zorglub FTP service.
Name (localhost:malaterre): ftp
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>


    But then if I try to do:

ftp> put /tmp/foo
local: /tmp/foo remote: /tmp/foo
227 Entering Passive Mode (127,0,0,1,32,233)
553 Could not create file.
ftp>



Could somebody tell me what I did wrong ?

Thanks
Mathieu
Ps: if this is the wrong mailing list, could somebody tell me where the
vfstp list is ?

$  ls -al /var/ftp/pub/                 /var/ftp/pub/incoming
total 12
drwxrwxrwx  3 ftp  ftp  4096 Jun  8 14:12 ./
drwxr-xr-x  3 root root 4096 May 25 16:37 ../
drwxrwxrwx  2 ftp  ftp  4096 Jun  8 15:54 incoming/







More information about the fedora-list mailing list