> Not exactly, -perm -111 matches if at least the mode has executable bit
> for all (could be 751 for example),
> while GNU -perm /111 matches if any bit is set (could be 500).

Thanks for the info, I didn't really check the GNU manpage.

> I guess that the original intent of the code here
> was to to find any executable file.

I concur. It seems to me that the default output mode for `cc` is 755
even if the parent directory has more restrictive permissions. So the
more concise -perm -111 should suffice. I will leave the decision up
to Roberto though.

Reply via email to