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
vsftpd 500 OOPS: cannot change directory:/home/ftp/%user%
-
- Posts: 6
- Joined: 2011/10/02 09:24:15
Re: vsftpd 500 OOPS: cannot change directory:/home/ftp/%user%
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
;-)
[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
;-)