Dead-simple VsFTPd anonymous read/write configuration?
Hello,
I just want to configure Vsftpd to allow users to have total access to the FTP server. The server and users are all on a private LAN behind a router with no access from the Net, so I don't need any security. The following basic configuration doesn't allow uploading files after I log on as anonymous/whatever: /etc/vsftpd/vsftpd.conf Code:
listen=YES Quote:
Thank you. |
With my system I had to do the following:
chmod u+w /var/ftp/pub/ Then I was able to upload to the pub/ directory. For /var/ftp this does not work, because vsftpd refuses to start if its root (/var/ftp) has write permissions for anonymous users. Greetings, hope this help. |
Thanks, but I already had /var/ftp/pub set that way:
Code:
# ll /var/ftp/ |
Quote:
Did you actually try it with changing into the directory pub/ first? Quote:
I copied your configuration and it worked (in the directory pub/). What does your vsftpd.log say ? |
Thanks for the help. This simple configuration works ok: After logging as ftp or anonymous, I can succesfully upload files to /var/ftp:
Code:
listen=YES Edit: You must also make sure "ftp" owns the directory: chown -R ftp.ftp /var/ftp/ If owned by root.root, you'll get this when trying to upload a file: "553 Could not create file" |
All times are GMT -5. The time now is 06:58 PM. |