> On Feb 28, 2012, Stefano Lattarini <stefano.lattar...@gmail.com> wrote: > > Yes, that's why I should have asked for "chmod 000 a/b", not "chmod 000 a" :-(
I can do that too: $ mkdir a a/b $ chmod 000 a/b $ find a -type d ! -perm -700 a/b find: a/b: Permission denied $ echo exit status: $? exit status: 1 $ find a -type d ! -perm -700 -exec chmod u+rwx '{}' \; $ echo exit status: $? exit status: 0 $ ls -l a total 0 drwx------ 2 nibbles staff 68 Feb 28 13:25 b That is funky.