Limit ftp users to only certain directories in Ubuntu

Posted by George on Server Fault See other posts from Server Fault or by George
Published on 2010-03-08T18:20:07Z Indexed on 2010/03/08 18:21 UTC
Read the original article Hit count: 285

There are several questions around limiting ftp users to certain directories. However, most of them refer to vsftpd, which I don't think I have installed on my system. I'm running Ubuntu 9.04. How can I tell what ftp service I have installed, and then limit certain users to only the /home/ftpuser directory instead of having full access to the file system?

I think I can add them to a separate group and give that group access to the proper directories, but then do I have to remove that groups permissions from all other directories? It seems like there should be an easy way like setting the chroot_local_user value in the /etc/vsftpd/vsftpd.conf file, but that doesn't exist on my system.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about ftp