1
1
I am trying to install Prestashop
in my Linux machine. But it says
Recursive write permissions on files and folders:
~/config/
~/cache/
~/log/
~/img/
~/mails/
~/modules/
~/themes/default/lang/
~/themes/default/pdf/lang/
~/themes/default/cache/
~/translations/
~/upload/
~/download/
~/sitemap.xml
And I got some red cross marks in it. But I gave a 777
permission to the prestashop
directory chmod -R 777 prestashop
.
NEVER never never use permission 777. 1) it is overkill. 2) It opens up everything for anybody. 3) It is so bad that several programs even refuse to work when they detect this setup. (example ssh) – Hennes – 2017-10-01T14:45:45.763
2try to set
755
for folders and 644 for files:find ~ -type d|xargs chmod 755 && find ~ -type f |xargs chmod 644
– Eir Nym – 2013-03-23T06:09:11.417