Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
    
What have you tried already? What were the results? –  techie007 Sep 10 '13 at 19:40
    
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
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.