From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23110 invoked from network); 6 Jan 2004 14:23:41 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 6 Jan 2004 14:23:41 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1Ads7R-0006Kv-4U for arch-gentoo-dev@lists.gentoo.org; Tue, 06 Jan 2004 14:23:41 +0000 Received: (qmail 26225 invoked by uid 50004); 6 Jan 2004 14:23:40 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 31352 invoked from network); 6 Jan 2004 14:23:39 +0000 Date: Tue, 6 Jan 2004 15:16:46 +0100 From: Torsten Veller To: gentoo-dev@lists.gentoo.org Message-ID: <20040106150006.GAea441.tv@veller.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20031231111942.GAddaf9.tv@veller.net> <200401041445.32329.dragonheart@tpg.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401041445.32329.dragonheart@tpg.com.au> X-GPG: 0416 3C11 8D79 65B9 AAD0 2065 BBC7 14D1 9C67CD96 X-Message-Flag: Your ad here - only $50/month! Seen by all Outlook users! User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by Amavisd-new + McAfee uvscan / Univ. Rechenzentrum Trier Subject: Re: [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links X-Archives-Salt: 05cde420-4a6f-42f5-bce8-7d12568fb95c X-Archives-Hash: 158fe74d26235438853eab77294464ec * Daniel : | tar cf /var/tmp/portage/wwwoffle-2.8a/image//var/spool/wwwoffle/html.tar html && cd +/var/tmp/portage/wwwoffle-2.8a/image//var/spool/wwwoffle && tar xpf html.tar && rm html.tar | tar: html/de/search/htdig/index.html: Cannot change ownership to uid 0, gid 0: No such file or directory | tar: html/en/search/htdig/index.html: Cannot change ownership to uid 0, gid 0: No such file or directory | [...] > 1. Unpack the tar before the make does using the 'unpack' directive and hope > that the make process detects that it is unpacked. Same problem. > 2. Hack the make process to change the tar command to "tar > - --no-same-owner" ... Yes :) | All these files are symbolic links to other files in the same directory. These | symbolic links come before the destination file in the html.tar archive. There | are other linked files in this html.tar where it's vice versa with no problem. But if the problem is only a change ownership problem, why is there no error message when the destination already exists? For example 'html/de/search/htdig/index.html' is a link to search.html which does not exist at the point when index.html is extracted (i think it's the same time when the owner should be changed), so i says 'file not found'. If the file would exist, there won't be an error. (See my other mail.) -- .: Torsten Veller | 1 + 1 = 3, for large values of 1. :. .: PGP 0x9C67CD96 | :. -- gentoo-dev@gentoo.org mailing list