HOWTO check file and directory permissions

If you want to check for certain permissions on files and directories. For example you want to make sure that your webserver directories and file are not writeable and/or executable.

$ find ./ -type d -perm 777 -exec find {} -name "*" \;

To find files only, replace * by *.* or for example *.php

More about „file permissions on X driven systems


ELExGspot |

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert