View Full Version : [ubuntu] vsftpd ftp server - set directories

April 23rd, 2008, 11:44 AM
I've just installed vsftpd ftp server and I want that anonymous users can connect to my comp in specific directory. In /etc/vsftpd.conf I've enabled:
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
But I don't want that anonymous users see my dir structure, only some specific folders. How can I set them? I don't see anything like that in config file.

April 23rd, 2008, 02:12 PM
by default anonymous users can connect to the home directory of the "ftp" user, which is generally /home/ftp

April 23rd, 2008, 03:02 PM
Is there some way to add a few dirs from the rest of hdd?