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

Issues related to applications and software problems
miko
Posts: 56
Joined: 2005/05/03 09:56:00
Location: BiH, Sarajevo

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

Post by miko » 2012/03/12 14:18:34

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

numeratanero
Posts: 6
Joined: 2011/10/02 09:24:15

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

Post by numeratanero » 2012/03/21 14:19:29

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
;-)

Post Reply

Return to “CentOS 6 - Software Support”