Error : 500 OOPS: connot change directory:/home/broexperts

Details : You may face this error while you are trying to access your Linux “vsftpd” server. its actually related to “SELinux“.

`
VSFTPD Error
VSFTPD Error

SELinux preventing to access the user’s directory from ftp session.

Solution : Enable the related SELinux boolean.

Step-1 Load the list of available SELinux booleans which are related to ‘vsftp”.

getsebool -a | grep ftp

Step-2 Home dir boolean should be in ‘on’ state “ftp_home_dir off”.

setsebool -P ftp_home_dir on

That’s it .!!

Any Question ? post in comments.

Similar Posts