title: wordpress could not create directory
body: <p>Good day folks,
  I was trying to update my wordpress site and i have this error: </p>
  
  <blockquote>
    <p>Unpacking the update… Could not create directory. Installation Failed</p>
  </blockquote>
  
  <p>After googling, i have found a solution that says: </p>
  
  <ol>
  <li><p>Web Server Ownership</p>
  
  <p>The first level is actually to make sure that your web server has ownership over the directories:
  <code>chown -R www-data:www-data your-wordpress-directory</code></p></li>
  <li><p>Directory Permissions</p>
  
  <p>The second level is also required – you must make sure that the directory permissions are properly set:</p>
  
  <pre><code>sudo find /var/www/wordpress/ -type d -exec chmod 755 {} \;
  sudo find /var/www/wordpress/ -type f -exec chmod 644 {} \;
  </code></pre></li>
  </ol>
  
  <p>Could anyone guide me how to perform those tasks?</p>
  
  <p>Regards</p>