i got a problem with vsftpd in F7, 500 OOPS: cannot change directory:/home/ftp-docs
i use vsftpd as my ftp server, following are some of my configuration
anonymous_enable=NO
local_enable=YES
write_enable=YES
[root@localhost ~]# groupadd ftp-users
[root@localhost ~]# useradd -g ftp-users -d /home/ftp-docs user1
[root@localhost ~]# passwd user1
[root@localhost ~]# mkdir /home/ftp-docs
[root@localhost ~]# chmod 750 /home/ftp-docs
#afterward, i change the file mode to 777, it also can not work properly
[root@localhost ~]# chown root:ftp-users /home/ftp-docs
192.168.1.219 is my local ip address
[root@localhost ~]# ftp 192.168.1.219
Connected to 192.168.1.219 (192.168.1.219).
220 Welcome! Tine.
Name (192.168.1.219:root): user1
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/ftp-docs
Login failed.
ftp>
|