Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2021 14:38:27 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        FreeBSD Current <current@FreeBSD.org>, doc@FreeBSD.org
Subject:   Re: installworld with NO_ROOT produces paths with .. for man pages
Message-ID:  <e0c2a007-12fd-5d48-07ba-88b8f02bc451@FreeBSD.org>
In-Reply-To: <ec39b732-664f-4ccc-2806-b13aa5c6c015@FreeBSD.org>
References:  <ec39b732-664f-4ccc-2806-b13aa5c6c015@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e0c2a007-12fd-5d48-07ba-88b8f02bc451>