Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
1  
try to set 755 for folders and 644 for files: find ~ -type d|xargs chmod 755 && find ~ -type f |xargs chmod 644 –  Eir Nym Mar 23 '13 at 6:09
add comment

1 Answer

On Ubuntu Linux: you need to give the apache web server (whose user name and group name is www-data) permission to do stuff on the files in the filesystem under prestashop.

# cd /var/www/prestashop
# chown -R www-data *
# chgrp -R www-data *

Refresh the prestashop install page and that particular problem should be gone.

share|improve this answer
    
The other steps to get everything to proceed normally is: sudo apt-get install tasksel; sudo tasksel install lamp-server –  Jason Posit May 30 '13 at 14:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.