2 # The slash is a GNU extension
7 ## set up a selection of test files
8 foreach perm { 400 200 555 700 000 050 } {
10 exec chmod $perm "tmp/$perm"
14 # The -o operator normally has a short-circuit effect,
15 # so we have to use "-exec false \;" to make sure that
16 # all the parenthesised expression actually fail.
18 find_start p {tmp -mindepth 1 -perm /555 -printf "p/555 %p\n" }
19 # exec rm -rf tmp tmp2