Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Prestashop 1.6 folder permissions
chmod a+w -R config/
chmod a+w -R cache/
chmod a+w -R log/
chmod a+w -R img/
chmod a+w -R mails/
chmod a+w -R modules/
chmod a+w -R themes/default-bootstrap/lang/
chmod a+w -R themes/default-bootstrap/pdf/lang/
chmod a+w -R themes/default-bootstrap/cache/
chmod a+w -R translations/
chmod a+w -R upload/
chmod a+w -R download/

redb commented Apr 19, 2016

merci merci

This saved me a minute, thanks!



ghost commented Feb 8, 2017

Your script is bad it sets all those directories and files to publicly accessible.

Your folders should be 755
Files should be 644

sudo find . -type d -exec chmod 755 {} ";"
sudo find . -type f -exec chmod 644 {} ";"

wakgari commented Jun 8, 2017

thank you so much

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