How to "FTP jail" with Pure-FTPD?

Posted by Nate on Server Fault See other posts from Server Fault or by Nate
Published on 2012-12-03T20:31:02Z Indexed on 2012/12/10 5:08 UTC
Read the original article Hit count: 475

Filed under:
|

I asked this a little bit ago, but instead of specifying Pure-FTPD I just said Apache. Per the answer to that question, I'm asking again with "Pure-FTPD" in the title this time.

I need to allow someone access to my VPS via FTP, but there are a number of directories that the person must not be allowed to view or modify. For example, something like this:

private_info_1
public_info_1
private_info_2
public_info_2

In this example, the FTP user would need to be allowed to do stuff in the public directories, but not the private ones.

How do I go about doing this with Pure-FTPD? I have cPanel and SSH access.

© Server Fault or respective owner

Related posts about ftp

Related posts about pure-ftpd