pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/56733: mtree bug processing filenames containing asterisks

On Tue, Mar 01 2022, Joerg Sonnenberger wrote:

>  Am Mon, Feb 28, 2022 at 01:35:00PM +0000 schrieb
>  > Additionally, the support for wildcards in the mtree format is not documented that I can see, and probably should be.  Or perhaps it should be removed, since AFAICT, no tools are generating mtree files intentionally using this feature.
>  It is documented. But mtree -c should quote them, at least if the mtree
>  variant supports quoting.

Hi Joerg,

I was creating the specification with mtree -c.  I wasn't using -C.  The
command I used was:

mtree -c -K "uid,gid,sha256" -p pathname

I can confirm that * was definitely not quoted in the output.  Other
characters, such as spaces, were.

- John

Home | Main Index | Thread Index | Old Index