On 02/27/2012 11:46 PM, P. Martin wrote:
> 
> $ mkdir a a/b
> $ chmod 000 a
> $ find a -type d ! -perm -700
> find: a: Permission denied
> $ echo exit status: $?
> exit status: 1
> $ find a -type d ! -perm -700 -exec chmod u+rwx '{}' \;
> find: a: Permission denied
> $ echo exit status: $?
> exit status: 1
> 
> Isn't this normal for find in the absence of sudo?
>
Yes, that's why I should have asked for "chmod 000 a/b", not "chmod 000 a" :-(

I'd appreciate if you can give that a try (but I'll understand if you are fed
up with my blunders by now).

Thanks, and sorry,
  Stefano



Reply via email to