Fedora FTP Server - lock users to separate partition

linuxhero27

Distinguished
Nov 12, 2009
143
0
18,710
I have a Fedora 13 server running VSFTPD. I want to "lock" users to one of the server's partitions, where they cannot go to any other part of the drive when they use Filezilla or some other FTP client.

How can I do this?
 

linuxhero27

Distinguished
Nov 12, 2009
143
0
18,710
I believe I have found an answer. This isn't the way I was originally going to do it, but it works.

Make a user strictly for FTP for everyone to use.
Make that user's home directory wherever you want your FTP files to go.
Give them permission to access and manipulate the folder.
Jail them to their home directory.