From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 3 16:30:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D05F106564A for ; Fri, 3 Apr 2009 16:30:05 +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 3B1088FC17 for ; Fri, 3 Apr 2009 16:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n33GU4CA040653 for ; Fri, 3 Apr 2009 16:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n33GU4UB040648; Fri, 3 Apr 2009 16:30:04 GMT (envelope-from gnats) Date: Fri, 3 Apr 2009 16:30:04 GMT Message-Id: <200904031630.n33GU4UB040648@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jilles Tjoelker Cc: Subject: Re: bin/128493: [patch] find(1) exits if -fstype test fails with EACCES X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2009 16:30:05 -0000 The following reply was made to PR bin/128493; it has been noted by GNATS. From: Jilles Tjoelker To: bug-followup@FreeBSD.org, ben@ben.com Cc: Subject: Re: bin/128493: [patch] find(1) exits if -fstype test fails with EACCES Date: Fri, 3 Apr 2009 18:26:22 +0200 Such strange permissions on mount points break more than just statfs: non-root users will not be able to access .. in /bak. This is documented in the CAVEATS section of mount(8). In fact, find(1) aborts for me because of that (7.2-PRERELEASE). find: fts_read: Permission denied Your patch seems only helpful if you -prune away the problematic directories. I also notice that your patch does not apply because all tabs have been expanded to spaces. -- Jilles Tjoelker