Date: Sat, 28 Aug 2021 17:28:29 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: FreeBSD Current <current@FreeBSD.org>, doc@FreeBSD.org Subject: installworld with NO_ROOT produces paths with .. for man pages Message-ID: <ec39b732-664f-4ccc-2806-b13aa5c6c015@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ec39b732-664f-4ccc-2806-b13aa5c6c015>