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:33:48 UTC 2010


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