Tuesday, November 11, 2008

normally is SELinux enforcing is true i wsnt able to ftp to my pc from remote site

I found out that disabling SELinux solved the problem (watch out for any security issue that might bring)...
To disable SELinux, edit /etc/sysconfig/selinux and put it to 'disabled' (again, make sure you don't lower too much the security of your box)...

in fedora core 5 i believe this can be fixed by going to Security Level and Firewall then the SELinux tab. Then click modify SELinux Policy, ftp and make sure "Allow ftp to read/write in the user home directories" is checked.

Or, just use

/usr/sbin/setsebool -P ftp_home_dir 1

That worked for me.

/usr/sbin/setsebool -P ftp_home_dir 1