From owner-freebsd-standards@FreeBSD.ORG Sun Feb 5 16:47:03 2006 Return-Path: X-Original-To: freebsd-standards@freebsd.org Delivered-To: freebsd-standards@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1035) id C1B7C16A422; Sun, 5 Feb 2006 16:47:03 +0000 (GMT) Date: Sun, 5 Feb 2006 16:47:03 +0000 From: Xin LI To: Joseph Koshy Message-ID: <20060205164703.GA50353@hub.freebsd.org> References: <20060205094359.GA16091@hub.freebsd.org> <84dead720602050219g3f8a55f4i974ffc53e991dc83@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84dead720602050219g3f8a55f4i974ffc53e991dc83@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-standards@freebsd.org Subject: Re: Exit if working directory is not accessible: a find(1) bug or feature? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2006 16:47:03 -0000 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,