How can I find all PHP files with group write permissions?
I've been trying to get the -perm
option of find
to give me all PHP files that are group writable. Should this work?
find -name "*.php" -perm g-w
Thanks!
Try:
find -iname "*.php" -perm -g=w
-g=w
means look for files that have this permission set.