Instantly share code, notes, and snippets.

Embed
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

This comment has been minimized.

Show comment
Hide comment
@redb

redb Apr 19, 2016

merci merci

redb commented Apr 19, 2016

merci merci

@defenestrator

This comment has been minimized.

Show comment
Hide comment
@defenestrator

defenestrator Sep 1, 2016

This saved me a minute, thanks!

defenestrator commented Sep 1, 2016

This saved me a minute, thanks!

@MartijnDwars

This comment has been minimized.

Show comment
Hide comment
@MartijnDwars

MartijnDwars commented Oct 16, 2016

Thanks!

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost 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 {} ";"

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

This comment has been minimized.

Show comment
Hide comment
@wakgari

wakgari Jun 8, 2017

thank you so much

wakgari commented Jun 8, 2017

thank you so much

@thedarsideofit

This comment has been minimized.

Show comment
Hide comment
@thedarsideofit

thedarsideofit commented Nov 10, 2017

thanks! @inodecloud

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