title: Facing issue with magento2 upgrade to latest version with composer update
body: <p>I am facing an issue, when I want to update my Magento 2 store version to the latest version, running <code>composer update</code>, throw this error:</p>
  
  <blockquote>
    <p>Cannot create cache directory
    /usr/share/nginx/html/sgn/repo/https---repo.magento.com/, or directory
    is not writable. Proceeding without cache Cannot create cache
    directory
    /usr/share/nginx/html/sgn/repo/https---composer.amasty.com-community/,
    or directory is not writable. Proceeding without cache Cannot create
    cache directory
    /usr/share/nginx/html/sgn/repo/https---repo.packagist.org/, or
    directory is not writable. Proceeding without cache Cannot create
    cache directory /usr/share/nginx/html/sgn/files/, or directory is not
    writable. Proceeding without cache Loading composer repositories with
    package information   [RuntimeException]<br>
    /usr/share/nginx/html/sgn/vcs does not exist and could not be created.</p>
  </blockquote>
  
  <p>I took contact with support, but they refuse to give permission to <code>/usr/share/nginx/html/sgn/vcg</code> as the project is on shared host.</p>
  
  <p>I just want to update my Magento 2 store to latest version</p>