# Welche Ordner- Verzeichnisberechtigungen genau für Shopware?

**URL:** https://forum.shopware.com/t/welche-ordner-verzeichnisberechtigungen-genau-fur-shopware/52768
**Category:** Installation/Einstieg
**Created:** [7. Mai 2018 um 10:43 UTC](https://forum.shopware.com/t/welche-ordner-verzeichnisberechtigungen-genau-fur-shopware/52768 "2018-05-07T10:43:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![anon71961077](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@anon71961077](https://forum.shopware.com/u/anon71961077)
#### Post date: [7. Mai 2018 um 10:43 UTC](https://forum.shopware.com/t/welche-ordner-verzeichnisberechtigungen-genau-fur-shopware/52768/1 "2018-05-07T10:43:57Z")

</div>

Ich bekomme diese Meldung:

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/4/48905b79ce819e97e70090fa4ad585ca631fb935.png)

Welche Ordner bzw. Verzeichnisse benötigen welche ext4 Berechtigungen?

---

<div class="post-metadata">

### Author: ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)
#### Post date: [7. Mai 2018 um 10:48 UTC](https://forum.shopware.com/t/welche-ordner-verzeichnisberechtigungen-genau-fur-shopware/52768/2 "2018-05-07T10:48:59Z")

</div>

Ordner sollten i.d.R. 755, Dateien 644 bekommen. Benutzer und Gruppe sollten der Benutzer und die Gruppe sein, unter der der PHP-Prozeß der Website läuft (das hängt von der PHP-Implementierung ab (mod\_php, FPM, FastCGI, etc.), da kann Dir Dein Hoster sicherlich weiterhelfen).

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/385eaa628505df573ebf33722f780335f53ac1b2.png)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)

---

<div class="post-metadata">

### Author: ![anon71961077](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@anon71961077](https://forum.shopware.com/u/anon71961077)
#### Post date: [7. Mai 2018 um 11:11 UTC](https://forum.shopware.com/t/welche-ordner-verzeichnisberechtigungen-genau-fur-shopware/52768/3 "2018-05-07T11:11:24Z")

</div>

Ich habe nun angefangen die Berechtigungen entsprechen zu setzen:

Im Browser nun schon:

Error

Please execute “composer install” from the command line to install the required dependencies for Shopware 5

Fehler

Bitte führen Sie zuerst “composer install” aus.

---

<div class="post-metadata">

### Author: ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)
#### Post date: [7. Mai 2018 um 11:15 UTC](https://forum.shopware.com/t/welche-ordner-verzeichnisberechtigungen-genau-fur-shopware/52768/4 "2018-05-07T11:15:25Z")

</div>

Jetzt mußt Du auf der Kommandozeile (SSH) im Shopware-Verzeichnis noch

composer install

ausführen.

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/385eaa628505df573ebf33722f780335f53ac1b2.png)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)

---

<div class="post-metadata">

### Author: ![anon71961077](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@anon71961077](https://forum.shopware.com/u/anon71961077)
#### Post date: [7. Mai 2018 um 11:27 UTC](https://forum.shopware.com/t/welche-ordner-verzeichnisberechtigungen-genau-fur-shopware/52768/5 "2018-05-07T11:27:40Z")

</div>

So nun:

```
chmoid 755 /var/www/shopware -R

find /var/www/shopware -type f -exec chmod 644 {} \;

```

Dann&nbsp;

```
apt install composer

composer install

```

und nun Folgendes:

Bei apt install composer:

login as: dirk  
[dirk@192.168.1.123](mailto:dirk@192.168.1.123)’s password:  
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-87-generic x86\_64)

&nbsp;\* Documentation: &nbsp;[https://help.ubuntu.com](https://help.ubuntu.com)  
&nbsp;\* Management: &nbsp; &nbsp; [https://landscape.canonical.com](https://landscape.canonical.com)  
&nbsp;\* Support: &nbsp; &nbsp; &nbsp; &nbsp;[Ubuntu Advantage for Infrastructure | Ubuntu](https://ubuntu.com/advantage)

41 Software-Pakete können aktualisiert werden.  
3 Aktualisierungen sind Sicherheitsaktualisierungen.

Last login: Tue May &nbsp;1 15:03:30 2018 from 192.168.1.120  
dirk@ubuntu:~$ sudo su  
[sudo] Passwort für dirk:  
root@ubuntu:/home/dirk# cd /var/www/shopware/  
root@ubuntu:/var/www/shopware# composer install  
Die Anwendung »composer« ist momentan nicht installiert. Sie können sie durch folgende Eingabe installieren:  
apt install composer  
root@ubuntu:/var/www/shopware# apt install composer  
Paketlisten werden gelesen… Fertig  
Abhängigkeitsbaum wird aufgebaut.  
Statusinformationen werden eingelesen… Fertig  
Die folgenden zusätzlichen Pakete werden Installiert  
&nbsp; javascript-common jsonlint libjs-excanvas mercurial mercurial-common  
&nbsp; php-cli-prompt php-composer-semver php-composer-spdx-licenses  
&nbsp; php-json-schema php-symfony-console php-symfony-filesystem  
&nbsp; php-symfony-finder php-symfony-process  
Vorgeschlagene Pakete:  
&nbsp; qct kdiff3 | kdiff3-qt | kompare | meld | tkcvs | mgdiff wish python-mysqldb  
&nbsp; python-pygments python-openssl php-symfony-event-dispatcher php-psr-log  
Die folgenden NEUEN Pakete werden installiert:  
&nbsp; composer javascript-common jsonlint libjs-excanvas mercurial  
&nbsp; mercurial-common php-cli-prompt php-composer-semver  
&nbsp; php-composer-spdx-licenses php-json-schema php-symfony-console  
&nbsp; php-symfony-filesystem php-symfony-finder php-symfony-process  
0 aktualisiert, 14 neu installiert, 0 zu entfernen und 30 nicht aktualisiert.  
Es müssen 2.420 kB an Archiven heruntergeladen werden.  
Nach dieser Operation werden 13,2 MB Plattenplatz zusätzlich benutzt.  
Möchten Sie fortfahren? [J/n] j  
Holen:…

…

&nbsp; &nbsp; Loading from cache

behat/mink suggests installing behat/mink-zombie-driver (fast and JS-enabled headless driver for any app (requires node.js))  
sebastian/global-state suggests installing ext-uopz (\*)  
phpunit/phpunit-mock-objects suggests installing ext-soap (\*)  
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.1)  
phpunit/phpunit suggests installing ext-xdebug (\*)  
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)  
behat/behat suggests installing behat/symfony2-extension (for integration with Symfony2 web framework)  
behat/behat suggests installing behat/yii-extension (for integration with Yii web framework)  
sensiolabs/behat-page-object-extension suggests installing bossa/phpspec2-expect (Allows to use PHPSpec2 matchers in Behat context files)  
Generating optimized autoload files  
Warning: Ambiguous class resolution, “Doctrine\ORM\Persisters\Entity\BasicEntityPersister” was found in both “$baseDir . '/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php” and “/var/www/shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php”, the first will be used.  
Warning: Ambiguous class resolution, “Doctrine\Common\Proxy\AbstractProxyFactory” was found in both “$baseDir . '/engine/Library/Doctrine/Common/Proxy/AbstractProxyFactory.php” and “/var/www/shopware/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php”, the first will be used.  
root@ubuntu:/var/www/shopware#

und im Browser:

Diese Seite funktioniert nicht

**[shop.so-geht-es.org](http://shop.so-geht-es.org)** &nbsp;kann diese Anfrage momentan nicht verarbeiten.

HTTP ERROR 500
