WordPress
[crayon]
cd path/to/wordpress
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod 660 wp-config.php
chmod 664 .htaccess
find wp-content -type d -exec chmod 775 {} \;
find wp-content -type f -exec chmod 664 {} \;
[/crayon]
osCommerce
[crayon]
find htdocs/ -type f -exec chmod 660 {} \;
chmod 440 htdocs/includes/configure.php
chmod 440 htdocs/admin/includes/configure.php
find htdocs/ -type d -exec chmod 770 {} \;
chmod 770 htdocs/includes/header_tags.php
chmod 770 htdocs/includes/languages/*/header_tags.php
[/crayon]
Nur .git Verzeichnis
[crayon]
find .git/ -type f -exec chmod 660 {} \;
find .git/ -type d -exec chmod 770 {} \;
[/crayon]
Ganzes public_html Verzeichnis
[crayon]
find public_html/ -type f -exec chmod 660 {} \;
find public_html/ -type d -exec chmod 770 {} \;
[/crayon]