When setting up vsftpd I am trapped. When I leave the ftpuser's home directory without write permission I can login and all is fine despite the fact, that I cannot write (of course). When I add write permission I get something like
cannot change to directory with write permissions if user is chrooted
Then I added
allow_writeable_chroot=YES
to vsftpd.conf. But now I get
ECONNREFUSED - Connection refused by serverss
I am lost. What am I doing wrong?
Here ist my configuration:
ubuntu 12.04 - vsftpd 2.3.5 - etc/vsftpd.conf:
write_enable=YES
dirmessage_enable=YES
ftpd_banner="Welcome to my FTP service."
local_enable=YES
local_umask=022
chroot_local_user=YES
allow_writeable_chroot=YES
anonymous_enable=YES
anon_upload_enable=YES
anon_umask=022
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
syslog_enable=YES
connect_from_port_20=YES
ascii_upload_enable=YES
ascii_download_enable=YES
pam_service_name=vsftpd
listen=YES
allow_writeable_chroot
option. What version of vsftpd are you running and on which OS? Please provide your entire configuration.