vsftpd - FTP server prog

Situation:
Trying to FTP between windows Vista and Suse linux 11.1
Software installed:
Zonealarm - Set my homnetwork to trusted (medium)

vsftpd settings /etc/vsftpd.conf:

  • chroot_local_user=YES
  • umask 022
  • dirmessage_enable=YES
  • anonymous_enable=NO
  • syslog_enable=YES
  • connect_from_port_20=YES
  • pam_service_name=vsftpd
  • listen=YES
  • ssl_enable=NO

$ ls -ld ~
My permissions to my home directory are RWX and ofcourse I
am the owner.

Problem:
I can login and see the directory structure of my home directory. I can download from linux machine to my windows
machine using filezilla, smartftp.
BUT I cannot upload any file from windows to linux running vsftpd. I get the error:

  • 550 could not get the file size (smartftp)
  • 550 permission denied (filezilla)

What is preventing me from uploading?

I don’t run vsftpd on openSUSE but I use it on Fedora and just tried to ftp from a Windows virtual machine. I can upload to users directory with Total Commander.
Here’s my /etc/vsftpd/vsftpd.conf :

anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=YES

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_max_port=1024
anon_root=/srv/ftp

Here’s my config on a Mandriva box read/write available from Windows too:

anonymous_enable=YES
local_enable=YES
write_enable=YES
anon_upload_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
ls_recurse_enable=YES
listen=YES

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_max_port=1024
anon_root=/srv/ftp