1 Answer
If you’ve created a new user, and assigned it a home directory, you might run into the following error
message when you’re running SELinux in combination with FTP daemons (vsftpd, …):
500 OOPS: cannot change directory.
The message is thrown because SELinux is preventing the FTP daemon from reading user home directories.
You can overwrite this setting, by issuing the following command directly from the CLI.
/usr/sbin/setsebool -P ftp_home_dir=1
This will allow FTP access to a user home directory through SELinux.
Don’t replace ftp_home_dir with the home directory you’re trying to access,
Your Answer
x