Wednesday, October 10, 2007

500 OOPS: cannot change directory

When I try to connect my fedora 7.0 server by ftp, following error occured.





500 OOPS: cannot change directory:/home/alvin

500 OOPS: child died

Connection closed by remote host.



It seems that the problem caused by SELinux setting (set as enforcing),

I solved the problem by changing SELinux setting to "permissive"



Note:

Be sure to change System Default Enforcing Mode too, otheriwse, the problem will occurs again after system reboot.


1 comment:

Anonymous said...

I tried this command and it worked for me
setsebool -P ftp_home_dir=1. Also i used a ftu user and not an anonymous one...Good Luck..