Last active
June 5, 2024 08:11
-
-
Save maxout/9047906 to your computer and use it in GitHub Desktop.
Set the correct directory permissions for Shopware installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
It should never be set to 777. This makes it publicly writable and shop-ware documentation strictly advices against this
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
very very bad advise.... 777 should not be given at any case.
very helpful, I was having permission issues on Shopware 6 in dockware with user as www-data, chmod 777 bin/build.sh
solved it
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
PLEASE DONT SET EVERYTHING TO 777
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the helpful gist. You should add
chmod 777 -R custom/plugins/
.