title: Ubuntu and www:data permissions in amazon aws
body: <p>I have a Joomla website hosted at amazon aws and having issues with permissions.</p>
  
  <p>Every time I have to go to terminal, ssh and do this to change the permissions between Joomla (www-data) and FileZilla (ubuntu)</p>
  
  <pre><code>sudo chown -R www-data.www-data /var/www/html (Joomla)
  sudo chown -R ubuntu /var/www/html (File Zilla)
  </code></pre>
  
  <p>How do I set it so that I don't have to change this every time?</p>