Skip to content

Instantly share code, notes, and snippets.

@damonsk
Created May 21, 2012 09:09
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save damonsk/2761360 to your computer and use it in GitHub Desktop.
Save damonsk/2761360 to your computer and use it in GitHub Desktop.
New Prestashop Install CHMOD & CHOWN
wget http://prestashop.googlecode.com/files/prestashop_1.4.8.2.zip
unzip prestashop_1.4.8.2.zip
rm -rf css/
rm -rf favicon.ico
rm -rf img/
rm -rf index.html
rm -rf picture_library/
rm -rf prestashop_1.4.8.2.zip
rm -rf test/
cd prestashop/
mv * .* /var/www/vhosts/website.co.uk/folder/
chmod 777 config
chmod 777 tools/smarty/compile
chmod 777 tools/smarty/cache
chmod 777 tools/smarty_v2/cache
chmod 777 tools/smarty_v2/compile
chmod 777 sitemap.xml
chmod 777 log
chmod 777 img -R
chmod 777 mails -R
chmod 777 modules -R
chmod 777 themes/prestashop/lang -R
chmod 777 themes/prestashop/cache -R
chmod 777 translations -R
chmod 777 upload -R
chmod 777 download -R
cd ..
chown -R user:psacln folder/
chown user:psaserv folder/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment