From owner-freebsd-questions@freebsd.org Thu Dec 21 19:01:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AB67E836BA for ; Thu, 21 Dec 2017 19:01:14 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay119.isp.belgacom.be (mailrelay119.isp.belgacom.be [195.238.20.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C5B173B96 for ; Thu, 21 Dec 2017 19:01:12 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3ADo6HkRVqEzItrgg5+Ek6p0dRXKPV8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYYxGGt8tkgFKBZ4jH8fUM07OQ7/i5HzRYqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjWwba9vIBmssQndqtQdjJd/JKo21hbHuGZDdf?= =?us-ascii?q?5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXM?= =?us-ascii?q?TRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmij?= =?us-ascii?q?oINyQh/W/ZisJ+kr9VrhGjqBxxzIHbfI6bOeFifq7fYd8WWXZNUtpPWyFHH4iy?= =?us-ascii?q?b5EPD+0EPetAsYf9plkOrR+jDgSyA+PvzSRIiWHz3aIg1eQhChzN0Qs8H9IPsn?= =?us-ascii?q?TUqM74OqcIUe+r0qbF0CjNYf1M1Tf68ojIfQksrPeRVrxzacrc0UoiGx7fglmO?= =?us-ascii?q?poHpIymZ2+sPvmSB8eZsSfyjhmg6oA9ruDev3N0jiozRi4IQzVDL6Dt2zZ4uJd?= =?us-ascii?q?29VE57edmkEIZMty2CN4t5XMciQ2ZwtSY50LIGvZ+7fC0Ux5Q9wB7TceCHc4mK?= =?us-ascii?q?4hLnTuqePTB4hHV+eL2hgha9606gyvbmWsmzylZKoTJJktjKtn8Tyxze8suKRu?= =?us-ascii?q?Zn8ku/1juDyxrf5+5GLEwui6bXN4AtzqY1lpUJsETDGiH2mF/xjK+Tbkgk5umo?= =?us-ascii?q?6+bjYrj9qJ+cLZF7hR/lPaQ1h8OzG+M4MhIBX2SD4+SzyKXj/VHlQLVNlvA2nL?= =?us-ascii?q?PZv47EKssAva62HhZZ0p8+6xmhFDemzNUYnX4BLFJeYx+HgZLpNE/QL//jFvew?= =?us-ascii?q?nk6gkDBxx/DJbfXdBcDoJ37Ci7epX7987QYIwg0u19ZSoZNYB7cdIe7ick/2qN?= =?us-ascii?q?nRDxt/OAuxlbXJEtJ4g78fW2bHKaieK67XuFmTrrYzIuuITKEPtTvXENRj4OTh?= =?us-ascii?q?2yxq0WQBdLWkiMNEIEuzGe5rdh2U?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DhAgAkBDxa/8ov8FFSCRkBAQEBAQEBA?= =?us-ascii?q?QEBAQEHAQEBAQGDPlaBBCePHo4bAQGCADMBgjSGHpA4hUUChElEFAEBAQEBAQE?= =?us-ascii?q?BAQFqKII4IoJKAQU6HCMQCw4KCSUPKh4GE4oTAxmme4puAQEBAQEBBAEBAQEkg?= =?us-ascii?q?3+If4JrRYFEhiYFows9kDKEcIEAgSSGFYQQhz6NX4pbNiKBT0wwCIJlhFhAN4o?= =?us-ascii?q?PAQEB?= X-IPAS-Result: =?us-ascii?q?A2DhAgAkBDxa/8ov8FFSCRkBAQEBAQEBAQEBAQEHAQEBAQG?= =?us-ascii?q?DPlaBBCePHo4bAQGCADMBgjSGHpA4hUUChElEFAEBAQEBAQEBAQFqKII4IoJKA?= =?us-ascii?q?QU6HCMQCw4KCSUPKh4GE4oTAxmme4puAQEBAQEBBAEBAQEkg3+If4JrRYFEhiY?= =?us-ascii?q?Fows9kDKEcIEAgSSGFYQQhz6NX4pbNiKBT0wwCIJlhFhAN4oPAQEB?= Received: from 202.47-240-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.240.47.202]) by relay.skynet.be with ESMTP; 21 Dec 2017 19:59:59 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id vBLIxwPp044678; Thu, 21 Dec 2017 19:59:59 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Thu, 21 Dec 2017 19:59:58 +0100 From: Tijl Coosemans To: Manish Jain Cc: "freebsd-questions@freebsd.org" Subject: Re: How to fix : Cannot extract through symlink Message-ID: <20171221195958.010ce64f@kalimero.tijl.coosemans.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2017 19:01:14 -0000 On Thu, 21 Dec 2017 14:37:43 +0000 Manish Jain wrote: > Whenever I try to install any rpm under my Linuxulator (linux_base-c7), > I get the error: cannot extract through > > can be bin / sbin / lib / lib64, which are symbolic links to > usr/ (under the path /compat/linux/) > > Each time I am faced with this problem, I have to delete and copy > the actual directory in its place. But this is far less than ideal. > > 1) Is there some way I can avoid the above mess ? > 2) If not, there was a time under Unix when hard-linking a directory was > possible. Is there some hack by which I could hard-link directories > under FreeBSD ? Try extracting with tar -P, but please read the tar manual because -P does other things like preserving absolute paths.