fixperms.ps1 349 B

12345678
  1. Write-Host "Correcting filesystem permissions..."
  2. bin/rootcli chown -R app:app /var/www
  3. bin/rootcli find var vendor pub/static pub/media app/etc -type f -exec chmod u+w `{`} `;
  4. bin/rootcli find var vendor pub/static pub/media app/etc -type d -exec chmod u+w `{`} `;
  5. bin/rootcli chmod u+x bin/magento
  6. Write-Host "Filesystem permissions corrected."