Resetting File Permissions

Last modified by tmesser on Sun, September 9, 2012 13:43
Show Page|Old Revisions  |  Back To Group

This shows you the differences between the selected revision and the current version of the page.

groups:227:resetting_file_permissions 2012/09/09 13:43 groups:227:resetting_file_permissions 2014/06/06 14:50 current
Line 2: Line 2:
Here's how to reset your file and directory permissions if PHP is running through FastCGI, suPHP, or LSAPI: Here's how to reset your file and directory permissions if PHP is running through FastCGI, suPHP, or LSAPI:
 +
 +As many times as I add a backslash before the ; it removes it.
 +ADD A BACKSLASH "" before the ;!!
<code bash>find . -type f -exec chmod 644 {} ; <code bash>find . -type f -exec chmod 644 {} ;
Line 13: Line 16:
<code bash> <code bash>
#for magento 1.5+ #for magento 1.5+
-find . -type f -exec chmod 644 {} ; +sudo find . -type f -exec chmod 644 {} ; 
-find . -type d -exec chmod 755 {} ; +sudo find . -type d -exec chmod 755 {} ; 
-chmod o+w var var/.htaccess app/etc +sudo chmod o+w var app/etc 
-chmod 550 mage  +sudo chmod 550 mage  
-chmod -R o+w media</code>+sudo chmod -R o+w media 
 +</code>
If you are running Pre 1.5 you can copy and paste this If you are running Pre 1.5 you can copy and paste this



 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs