From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 2 07:40:13 2010 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 B8F9F106564A for ; Fri, 2 Apr 2010 07:40: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 A7D6C8FC0C for ; Fri, 2 Apr 2010 07:40:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o327eDR7001424 for ; Fri, 2 Apr 2010 07:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o327eDlE001423; Fri, 2 Apr 2010 07:40:13 GMT (envelope-from gnats) Date: Fri, 2 Apr 2010 07:40:13 GMT Message-Id: <201004020740.o327eDlE001423@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bruce Evans Cc: Subject: Re: bin/145230: mtree(8) -P is broken because l* functions aren't being used X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Evans List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 07:40:13 -0000 The following reply was made to PR bin/145230; it has been noted by GNATS. From: Bruce Evans To: Garrett Cooper Cc: freebsd-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: bin/145230: mtree(8) -P is broken because l* functions aren't being used Date: Fri, 2 Apr 2010 18:33:43 +1100 (EST) On Wed, 31 Mar 2010, Garrett Cooper wrote: >> Description: > As discovered when reviewing mtree(8) as part of bin/144411, there are a number of items with -P that doesn't work... all chown, chmod, and stat calls for instance are the non-l variety, which means that unfortunately the file information for symlinks isn't being properly recorded. Please use line lengths considerably shorter than 282 characters. This (not the formatting) seems to be fixed in NetBSD. Its mtree has many lchown()s, chmod()s and lchflag()s though no lstat()s or lutime()s. Bruce