Sample Header Ad - 728x90

How to prevent user from going to upper directory by vsftpd, in Ubuntu

1 vote
1 answer
46 views
The directories and the access setting is like below. /home/directoroy1 rwxr-xr-x 4 user1 user1 4096 /home rwxrwxr-x 5 root root 4096 And in vsftpd.conf, I set like below. chroot_local_user=YES allow_writeable_chroot=YES And then restart vsftpd as below. systemctl restart vsftpd However whenever I test with Filezilla with the ID user1, firstly it goes to it's designated directory /home/directory1, but I can still see .. and able to click it to see upper directory. I can even go see every other directory including root directory, with user1. Where did I do wrong?
Asked by Chihyun Ahn (21 rep)
Nov 12, 2024, 11:49 PM
Last activity: Nov 20, 2024, 10:32 AM