I just set it in the config file:<div>It told me to uncomment the line which said something along the lines of:</div><div><br></div><div>DocumentRoot: ~</div><div><br></div><div>If i set it to an actual directory it will be fine, for example: /var/www</div>

<div>But then how do i set diff users diff directories?</div><div>Daniel<br><br><div class="gmail_quote">On 9 August 2010 23:54, Simon Greenwood <span dir="ltr">&lt;<a href="mailto:sfgreenwood@gmail.com" target="_blank">sfgreenwood@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>That sounds really familiar but I haven&#39;t done anything with ProFTPD for a long time. How do you set up the chroot?</p>



<p>S</p><font color="#888888">
</font><p></p><blockquote type="cite"><div><div></div><div>On 9 Aug 2010 23:05, &quot;Daniel Case&quot; &lt;<a href="mailto:danielcase10@googlemail.com" target="_blank">danielcase10@googlemail.com</a>&gt; wrote:<br>
<br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><span style="font-family:Verdana, Arial, Tahoma;font-size:12px">Hi There guys, I have a little server that I use for testing purposes and im having some problems with FTP. <br>





I am using Ubuntu 10.04 and proftpd<br><br>When I do not chroot local users it will go to there home directory when they log in (/home/ftp for my FTP user) but the problem with that is they can get out quite easily so i tried to jail them in the chroot.<br>





<br>For some reason whenever I set that it puts the user straight into the root directory and doesn&#39;t let them into anything. I was expecting it to just chroot the user in /home/ftp</span><div><span style="font-family:Verdana, Arial, Tahoma;font-size:12px"><br>





</span></div><div><span style="font-family:Verdana, Arial, Tahoma;font-size:12px">I did put this on the Ubuntu Forum but it appears no-one could answer, i bumped it twice after it dropped from the fifth page...</span></div>





</span>
<br></div></div>--<div><br>
<a href="mailto:ubuntu-uk@lists.ubuntu.com" target="_blank">ubuntu-uk@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br>
<a href="https://wiki.ubuntu.com/UKTeam/" target="_blank">https://wiki.ubuntu.com/UKTeam/</a><br>
<br></div></blockquote><p></p>
<br>--<br>
<a href="mailto:ubuntu-uk@lists.ubuntu.com" target="_blank">ubuntu-uk@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br>
<a href="https://wiki.ubuntu.com/UKTeam/" target="_blank">https://wiki.ubuntu.com/UKTeam/</a><br>
<br></blockquote></div><br></div>