Every application has the same layout, owned by its own Linux user.
| Path | What |
|---|---|
/srv/apps/<app>/current | The live code (for Magento and Laravel, a link to the current release). |
/srv/apps/<app>/releases | Previous releases, for rollbacks (Magento and Laravel). |
/srv/apps/<app>/shared | Files that survive deploys: env.php, media, var/log and the other shared paths. |
/srv/apps/<app>/logs | nginx and PHP logs of this application. |
/srv/apps/<app>/backups-download | Backup downloads, kept 24 hours. |
Never use chmod 777. It is never needed here: PHP runs as the application's user and SFTP users write as that user too.
PHP is limited to the application's own folder (open_basedir): code in one store can never read another store's files.
Did this solve it? If not, tell us what you see and we look at your server.
Open a ticket