title: What chmod permission to use when creating user group directory with PHP mkdir()
body: <p>-</p>
  
  <ul>
  <li><p>A PHP Web application, needs to allow logged in admins to upload and delete images to a web folder, for a particular record.</p></li>
  <li><p>When a record is created in a MySQL database, a folder is also created on the public server - using PHP mkdir() - to hold images for that particular record.</p></li>
  <li><p>There will be multiple users of the same application, all needing permission to add and delete images to the folders being created.</p></li>
  <li><p>The folder would need to continue to be accessible via FTP as well.</p></li>
  </ul>
  
  <p>So I guess that overall, it needs to be accessible - add, edit, delete, view, FTP - by logged in users, but not accessible to the general public.</p>
  
  <p>What folder permission should I use for this? </p>
  
  <p>Reasons why? Security? Accessibility? Edit-ability?</p>
  
  <p>Thanks.
  Regards.</p>