Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run multiple client websites on a VPS purchased from Dreamhost. When I initially set up this VPS, I only required one user. I created a user called "thoughtspace" with the home directory at /home/thoughtspace.

Recently, a few clients have wanted FTP access to their website for one reason or another. For example, we host one website called "Footprints on the Moon". The directory that this website lies in is /home/thoughtspace/rhumbrecht.com. There are also other websites at /home/thoughtspace/thoughtspacedesigns.com, and other various folders in the same home directory.

How could I go about creating an FTP account that when logged in, would land in /home/thoughtspace/rhumbrecht.com, and wouldn't have access to the parent directory? Can I add a user with its home directory inside another user home directory? Will I have to reorganize my entire VPS structure?

share|improve this question
    
Messed around with Unix groups but couldn't seem to get the desired nested set up that I put above. Other than that, I've had virtually no dice searching for a way to create a FTP account under a pre-existing user that's only valid for a specific sub folder of the user. – Thought Space Designs Sep 10 '13 at 20:11
    
At this point, I'm almost wondering if the lack of response means I should be putting each site under it's own user account and accessing the server via root for site administration. Any other ideas that don't involve changing my file structure? – Thought Space Designs Sep 25 '13 at 2:57

You must log in to answer this question.

Browse other questions tagged .