Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 12:08:57 -0700 (PDT)
From:      Mike Hibler <mike@cs.utah.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/41583: assorted mtree bugs (+fixes)
Message-ID:  <200208121908.g7CJ8vGd022672@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         41583
>Category:       bin
>Synopsis:       assorted mtree bugs (+fixes)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 12 12:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mike Hibler
>Release:        4.6-STABLE
>Organization:
Flux group, University of Utah
>Environment:
FreeBSD bas.flux.utah.edu 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug  1 14:27:24 MDT 2002     mike@bas:/usr/obj/usr/src/sys/FLUX  i386

>Description:
Three bugs in mtree:

1. Cannot handle filenames which start with '#'.
    This one has been reported before (bin/35226, bin/41246).  My "fix" is different
    than the one in 35226, I just added the '-N' option which says: when creating a
    spec, don't ever produce comments and when reading a spec, don't expect
    comments.  The aforementioned fix is probably better than mine.

2. Cannot handle symlink values with non-standard chars.
     This one has also been reported/fixed previously (bin/35454).
     My fix is essentially the same.

3. Mishandles fixing owner/mode of symlinks when using -P
    When using -P in conjunction with -U, mtree chown/chmods the
    target of the symlink rather than the symlink itself.  This does
    not match the semantics for creation of a spec file where -P gives
    you the attributes of the link.

>How-To-Repeat:
Use mtree on non-trivial hierarchies.

>Fix:
Grab:
ftp://www.flux.utah.edu/flux/freebsd/mtree.patch

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208121908.g7CJ8vGd022672>