To change all the directories to 755 (-rwxr-xr-x):
[email protected] [~/www/magento]# find . -type d -exec chmod 755 {} \;
To change all the files to 644 (-rw-r–r–):
[email protected] [~/www/magento]# find . -type f -exec chmod 644 {} \;
To change all the directories to 755 (-rwxr-xr-x):
[email protected] [~/www/magento]# find . -type d -exec chmod 755 {} \;
To change all the files to 644 (-rw-r–r–):
[email protected] [~/www/magento]# find . -type f -exec chmod 644 {} \;