From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 1 09:30:13 2012 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 56D9B106566B for ; Sun, 1 Apr 2012 09:30:13 +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 15E6D8FC26 for ; Sun, 1 Apr 2012 09:30:13 +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 q319UCEg080968 for ; Sun, 1 Apr 2012 09:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q319UCJt080967; Sun, 1 Apr 2012 09:30:12 GMT (envelope-from gnats) Resent-Date: Sun, 1 Apr 2012 09:30:12 GMT Resent-Message-Id: <201204010930.q319UCJt080967@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Richard Kettlewell Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63BD7106564A for ; Sun, 1 Apr 2012 09:24:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2148FC15 for ; Sun, 1 Apr 2012 09:24:27 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q319OQT5036770 for ; Sun, 1 Apr 2012 09:24:26 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q319OQeN036749; Sun, 1 Apr 2012 09:24:26 GMT (envelope-from nobody) Message-Id: <201204010924.q319OQeN036749@red.freebsd.org> Date: Sun, 1 Apr 2012 09:24:26 GMT From: Richard Kettlewell To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/166553: find -delete documentation is misleading X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2012 09:30:13 -0000 >Number: 166553 >Category: bin >Synopsis: find -delete documentation is misleading >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 01 09:30:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Richard Kettlewell >Release: >Organization: >Environment: >Description: The documentation for 'find -delete' includes the following remark: It will not attempt to delete a filename with a “/” character in its pathname relative to “.” for security reasons. This reflects a defensive test early in f_delete. However, the test will not succeed, since find does not use FTS_NOCHDIR, so entry->fts_accpath should never contain "/". I suggest that this remark be deleted from the man page. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: