How can I set up an FTP user with a home directory inside another user's home folder?
Posted
by simon180
on Server Fault
See other posts from Server Fault
or by simon180
Published on 2010-05-13T20:36:36Z
Indexed on
2010/05/13
20:44 UTC
Read the original article
Hit count: 235
Hi
I have an Ubuntu (Hardy) server which I am using to host multiple websites. All of the sites are stored in subfolders of a public_html folder for my main login to the server and accessed via a single SSH account.
I now have a website user who wants FTP (or similar) access to enable them to upload various files etc to the directory where their website is situated, however I still need the SSH account to have access to this directory as I may need to make changes using my master account.
Basically I want to create an FTP account (I have VSFTPD installed) for a user with the home directory inside my own user account but they should only be able to read/write to this folder or its subfolders but not go further up the directory tree.
How can I achieve this?
Thanks
© Server Fault or respective owner