With proftpd you can change the default directory editing /etc/proftpd.conf
DefaultRoot ~
change to
DefaultRoot ~/music
How i can achieve the same result with SFTP?
Im using ubuntu lucid btw.
Ty so much for your help.
proftpdsftp
With proftpd you can change the default directory editing /etc/proftpd.conf
DefaultRoot ~
change to
DefaultRoot ~/music
How i can achieve the same result with SFTP?
Im using ubuntu lucid btw.
Ty so much for your help.
Best Answer
Have a look at this article which shows how to use sshd's
ChrootDirectory
to force all members of a particular group into a common directory root. You may be able to modify it to meet your requirements.