From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 2 07:33:47 2010 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0838106564A; Fri, 2 Apr 2010 07:33:47 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [211.29.132.185]) by mx1.freebsd.org (Postfix) with ESMTP id 5C08C8FC12; Fri, 2 Apr 2010 07:33:46 +0000 (UTC) Received: from c122-106-158-90.carlnfd1.nsw.optusnet.com.au (c122-106-158-90.carlnfd1.nsw.optusnet.com.au [122.106.158.90]) by mail04.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o327XhhC006469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Apr 2010 18:33:45 +1100 Date: Fri, 2 Apr 2010 18:33:43 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Garrett Cooper In-Reply-To: <201003310710.o2V7AnNt036982@www.freebsd.org> Message-ID: <20100402182848.S3871@delplex.bde.org> References: <201003310710.o2V7AnNt036982@www.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-bugs@freebsd.org, freebsd-gnats-submit@freebsd.org 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 List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 07:33:48 -0000 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