Page 2 of 2

vsftpd 500 OOPS: cannot change directory:/home/ftp/%user%

Posted: 2012/03/12 14:18:34
by miko
Hi ,
try change some lines in file /etc/sysconfig/iptables-config

IPTABLES_MODULES="ip_conntrack_netbios_ns ip_conntrack_ftp ip_nat_ftp"

after restart iptables: service iptables restart

Re: vsftpd 500 OOPS: cannot change directory:/home/ftp/%user%

Posted: 2012/03/21 14:19:29
by numeratanero
Now I still get the next error:
[code]Antwoord: 220 (vsFTPd 2.2.2)
Commando: USER wesley
Antwoord: 331 Please specify the password.
Commando: PASS *********
Antwoord: 500 OOPS: cannot change directory:/home/ftp/wesley
Fout: Fatale fout
Fout: Kan niet verbinden met server[/code][/quote]

This will solve it

/usr/sbin/setsebool -P ftp_home_dir 1
;-)