From nobody Thu Sep 23 11:38:27 2021 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 012FE175A37C; Thu, 23 Sep 2021 11:38:31 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HFY866QlSz4VVR; Thu, 23 Sep 2021 11:38:30 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (unknown [195.64.148.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: avg/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 67F0722319; Thu, 23 Sep 2021 11:38:30 +0000 (UTC) (envelope-from avg@FreeBSD.org) Subject: Re: installworld with NO_ROOT produces paths with .. for man pages From: Andriy Gapon To: FreeBSD Current , doc@FreeBSD.org References: Message-ID: Date: Thu, 23 Sep 2021 14:38:27 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On 28/08/2021 17:28, Andriy Gapon wrote: > > This seems to be related to the recent change to install manual pages for all > platforms. > > My method of creating a cross-platform installation image is to install with > NO_ROOT and then to tar up with @METALOG argument. > On the destination I simply untar the archive into a destination directory > (typically a fresh ZFS BE). > > Today I noticed some complaints when extracting the archive, here is a few: > ./usr/share/man/man4/i386/../smapi.4.gz: Path contains '..' > ./usr/share/man/man4/i386/../vpd.4.gz: Path contains '..' > ./usr/share/man/man4/powerpc/../adb.4.gz: Path contains '..' > ./usr/share/man/man4/powerpc/../akbd.4.gz: Path contains '..' > > This is a not a big deal but would be nice to "straighten" the installation > paths when installing such manual pages. > > P.S. > NO_ROOT does not seem to be documented outside of the source code. > I think that it would be nice to fix that .. issue. Any suggestions? -- Andriy Gapon