bin/145230: mtree(8) -P is broken because l* functions aren't being used

Bruce Evans brde at optusnet.com.au
Fri Apr 2 07:40:13 UTC 2010


The following reply was made to PR bin/145230; it has been noted by GNATS.

From: Bruce Evans <brde at optusnet.com.au>
To: Garrett Cooper <gcooper at freebsd.org>
Cc: freebsd-gnats-submit at freebsd.org, freebsd-bugs at 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


More information about the freebsd-bugs mailing list