Sign in with
Sign up | Sign in
Your question

Fedora FTP Server - lock users to separate partition

Last response: in Linux/Free BSD
March 7, 2011 7:49:11 PM

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?
March 7, 2011 10:59:54 PM

Look at the deny_file configuration description in 'man vsftpd.conf' and edit your config file appropriately.

Best solution

March 10, 2011 2:54:13 AM

google FTP and chroot
Related resources
March 10, 2011 3:03:49 AM

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.
March 10, 2011 3:04:08 AM

Best answer selected by linuxhero27.