Skip to content

Instantly share code, notes, and snippets.

@maxout
Last active June 5, 2024 08:11
Show Gist options
  • Select an option

  • Save maxout/9047906 to your computer and use it in GitHub Desktop.

Select an option

Save maxout/9047906 to your computer and use it in GitHub Desktop.
Set the correct directory permissions for Shopware installation
chmod 777 config.php
chmod 777 -R cache
chmod 777 -R files
chmod 777 -R media
chmod 777 -R engine/Shopware/Plugins/Community
chmod 777 -R logs
chmod 777 -R engine/Shopware/Plugins/Default
chmod 777 -R web/cache/
chmod 777 -R recovery/
chmod 777 -R themes/Frontend
chmod 777 -R recovery/install/data
chmod 777 -R var/
@Hotte512

Hotte512 commented May 1, 2018

Copy link
Copy Markdown

a little off topic, but about File Permission...
Does someone have a hints for using SwagMEdiaSftp ? File&Folder Permissons are not set correct by the Plugin....

THX

shopware5/SwagMediaSftp#6

@khuramrr

Copy link
Copy Markdown

very very bad advise.... 777 should not be given at any case.

ghost commented May 12, 2022

Copy link
Copy Markdown

very helpful, I was having permission issues on Shopware 6 in dockware with user as www-data, chmod 777 bin/build.sh solved it

@KornKalle

Copy link
Copy Markdown

That´s very dangerous. I am currently reviewing a broken shopware installation from a customer and was searching for the correct permissions and this is something like the 3rd Search result. PLEASE DONT SET EVERYTHING TO 777

@marsch

marsch commented Jun 5, 2024

Copy link
Copy Markdown

PLEASE DONT SET EVERYTHING TO 777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment