I have ProFTPD set up so that I can remotely upload new php files and suchlike to my htdocs on my server. That's all fine, but I would like to jail the 'nobody' (No write, Read/Download only) user into a subdirectory (htdocs/ftp) so that any users can't have fun reading my mySQL connection scripts, which are in the htdocs folder. I don't want to set the DefaultRoot to /ftp, as then I can't use FTP to modify the site, unless there is then a way to allow me back up a level. (For the sake of it, let's call me admin)
It's not a production environment, more an intranet, but hey, i don't want it to be insecure like that.