root@aeshells.com:~# find /home -perm 1
root@aeshells.com:~# find /home -perm 111
root@aeshells.com:~#
nope, neithier of those work, the part that gets me is that is says in the
man page, "exact permissions"
i've tested this and i can do -perm 740 and it will find any that are
exactly "740, etc.. etc..
is there anyway i can put this in a loop or something find all possible
combinations that include a
1 - 3 -5 -7 at any bit?
instead of manually coding a file that searches for each exact possiblity?
find /home -perm 001 >> find-exe.log
find /home -perm 010 >> find-exe.log
find /home -perm 100 >> find-exe.log
find /home -perm 410 >> find-exe.log
....etc...etc...
there are 343 possible cominations of permissions, and (if i did the right
math) 64 of them would be
exucutable...
anyway to automate this?
--alex