View Single Post
  #4  
Old 17th November 2010, 12:13
willko willko is offline
Junior Member
 
Join Date: Aug 2010
Posts: 9
Thanks: 1
Thanked 4 Times in 2 Posts
Default

I've also found this set of commands useful for existing Joomla sites (migration etc...)

N.B.run this from terminal of the directory CONTAINING the "/web" directory - e.g. "/var/www/clients/client1/web18"
Also make sure the CLIENT is correct before pasting this script!!!


Code:
chown -hR -v -f root:client0 web/*
cd web
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 775 {} \;
find . -type f -name "configuration.php" -exec chmod 664 {} \;
find . -type f -name "*.ini" -exec chmod 664 {} \;
find . -type f -name "*.css" -exec chmod 664 {} \;
find . -type f -name ".htaccess" -exec chmod 755 {} \;
Hope that helps

Last edited by willko; 17th November 2010 at 19:44.
Reply With Quote