How do I set/change the default ftp root folder for a specific user? I want to be able to create a developer account that homes to different sites on a development box depending on what is currently being worked on.
EDIT: The server is running Ubuntu and vsftpd.
Best Answer
If you specify the
user_config_dir
invsftpd.conf
, you can set any config option on a per-user basis.From
man vsftpd.conf
:So, setting
local_root
in this way to the desired directory changes the FTP root for just that user.