Hi, when I connect via ftp, I see this error in my ftp client (no ssl connection):
Reply: 500 OOPS: cannot change directory:/srv/jail/[username]
For this reason, the ftp connection does not work, does anyone know how to fix it?
Hi, when I connect via ftp, I see this error in my ftp client (no ssl connection):
Reply: 500 OOPS: cannot change directory:/srv/jail/[username]
For this reason, the ftp connection does not work, does anyone know how to fix it?
Well, for me this worked for me:
In this file: /etc/vsftpd.conf
chroot_local_user=YES
—> change to
chroot_local_user=NO
Then, new restart this service:
service vsftpd restart
I solve this issue with this:
Comment this line in /etc/vsftpd.conf:
#local_root=/srv/jail/%u
Add this line:
local_root=/home/%u
Best regards.