title: Give FTP User access to specific directory
body: <p>So I google'd around and found these instructions on how to create an FTP user and give him access to a directory</p>
  
  <pre><code>    To create FTP user through SSH you would need to follow below mentioned steps:
  
  1. Login as root through SSH.
  
  2. Next add the user account you want using the 'useradd' command
  
  useradd &lt;username&gt;
  
  3. Now create a special group for that user.
  
  groupadd &lt;groupname&gt;
  
  4. Now to add the user to the group
  
  gpasswd -a &lt;username&gt; &lt;groupname&gt;
  
  These commands are non-standard but
  available on most popular
  distributions. If not, then you can
  try editing /etc/group using your
  favorite text editor.
  
  5. Change the group ownership of the special directory to that group.
  
  chgrp -Ra groupname
  /path/to/your/web/directory
  
  6. Enable write permissions
  
  chmod -R g+rw
  
  /path/to/your/web/directory
  </code></pre>
  
  <p>Now that was great and all, but the problem is that on ftp, my user (named jon) logs into the directory <code>/home/jon</code> instead of the Oxford directory I set for his group, as per instructions: `/home/domain/public_html/wallpaper</p>
  
  <p>If you want to change the permissions you should use the binary option rather than alphabetical. For example:</p>
  
  <p>chmod 777 - for all users to do all. You would probably be better with 755 though with what you want.</p>