Exit if working directory is not accessible: a find(1) bug or feature?

Xin LI delphij at freebsd.org
Sun Feb 5 08:47:03 PST 2006


On Sun, Feb 05, 2006 at 03:49:58PM +0530, Joseph Koshy wrote:
> >       find: .: Permission Denied
> ...
> > So, should we consider this as a feature (add some comments
> > in the BUGS section), or it's a bug that should be fixed?
> 
> What would you expect would be a more reasonable behaviour
> for this case?

I think that, if no -exec is specified, then usage of find(1) should be
permitted, as the manpage did not said that it would not work; or,
we should document this behavior, because it is somewhat "unexpected"
especially for newbies who manage to write up a script.

Cheers,


More information about the freebsd-standards mailing list