Answer the question
In order to leave comments, you need to log in
Why doesn't FTP work when SeLinux is disabled?
All good health!
I'm setting up FTP on a server under CentOS 6.5 via vsftpd
Everything is set up, the user connects to their home locations, read and write.
However, there is a condition that spoils everything, according to the ftp task, users must have access not to their home directory created when creating an ftp user, but to the specified directories of Bitrix. Accordingly, when specifying the working directory, for example
/home/bitrix/www/upload
500 OOPS: cannot change directory:/home/bitrix/www/upload
anonymous_enable = NO
local_enable = YES
write_enable = YES
local_umask = 022
dirmessage_enable = YES
xferlog_enable = YES
connect_from_port_20 = YES
xferlog_file / var / log / xferlog
xferlog_std_format = YES
chroot_local_user = YES
listen = YES
pam_service_name = vsftpd userlist_enable =
YES
tcp_wrappers = YES
pasv_min_port = 60000
pasv_max_port =60235
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question