From owner-freebsd-bugs@FreeBSD.ORG Tue Mar 13 19:20:04 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B7A21065674 for ; Tue, 13 Mar 2012 19:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4EF8FC15 for ; Tue, 13 Mar 2012 19:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2DJK4vr022803 for ; Tue, 13 Mar 2012 19:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2DJK4cN022802; Tue, 13 Mar 2012 19:20:04 GMT (envelope-from gnats) Date: Tue, 13 Mar 2012 19:20:04 GMT Message-Id: <201203131920.q2DJK4cN022802@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Matthew Story Cc: Subject: Re: bin/166056: [patch][bin] find fails with .: permission denied, even when using absolute paths X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Story List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 19:20:04 -0000 The following reply was made to PR bin/166056; it has been noted by GNATS. From: Matthew Story To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/166056: [patch][bin] find fails with .: permission denied, even when using absolute paths Date: Tue, 13 Mar 2012 15:19:42 -0400 --20cf307cfd98b5c98204bb24bd10 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Mar 13, 2012 at 3:08 PM, Matthew Story wrote: > >Fix: > apply patch (patch was made against -CURRENT). patch will warn if it > cannot open ".", and set the FTL_NOCHDIR flag before proceeding, below > cases demonstrate functionality with&without the -exec flag > Embarrassingly enough, my patch breaks -execdir ... I will follow-up with a correction that doesn't break -execdir. Apologies for not being more thorough in my testing. -- regards, matt --20cf307cfd98b5c98204bb24bd10 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Mar 13, 2012 at 3:08 PM, Matthew Story <matthewstory@gmail.com> w= rote:
>Fix:
apply patch (patch was made against -CURRENT). =A0patch will warn if it can= not open ".", and set the FTL_NOCHDIR flag before proceeding, bel= ow cases demonstrate functionality with&without the -exec flag

Embarrassingly enough, my patch breaks -execdir ... I w= ill follow-up with a correction that doesn't break -execdir. =A0Apologi= es for not being more thorough in my testing.

-- =
regards,
matt
--20cf307cfd98b5c98204bb24bd10--