Try the Demo

Resetting File Permissions

Last modified by tmesser on Sun, September 9, 2012 14: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 14:43 groups:227:resetting_file_permissions 2012/09/11 10:26 current
Line 3: Line 3:
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:
-<code bash>find . -type f -exec chmod 644 {} ; +<code bash>find . -type f -exec chmod 644 {} \
-find . -type d -exec chmod 755 {} ;+find . -type d -exec chmod 755 {} \;
chmod 550 pear chmod 550 pear
chmod 550 mage #for magento 1.5+ chmod 550 mage #for magento 1.5+
Line 13: Line 13:
<code bash> <code bash>
#for magento 1.5+ #for magento 1.5+
-find . -type f -exec chmod 644 {} ; +find . -type f -exec chmod 644 {} \
-find . -type d -exec chmod 755 {} ;+find . -type d -exec chmod 755 {} \;
chmod o+w var var/.htaccess app/etc chmod o+w var var/.htaccess app/etc
chmod 550 mage chmod 550 mage
Line 21: Line 21:
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
-<code bash>find . -type f -exec chmod 644 {} ; +<code bash>find . -type f -exec chmod 644 {} \
-find . -type d -exec chmod 755 {} ;+find . -type d -exec chmod 755 {} \;
chmod o+w var var/.htaccess app/etc chmod o+w var var/.htaccess app/etc
chmod 550 pear chmod 550 pear



 

Magento Developer Certification

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs