From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EdYBL-0001TQ-V2 for garchives@archives.gentoo.org; Sat, 19 Nov 2005 19:15:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAJJDpbn005701; Sat, 19 Nov 2005 19:13:51 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAJJ8CNX027841 for ; Sat, 19 Nov 2005 19:08:13 GMT Received: by zproxy.gmail.com with SMTP id 4so480280nzn for ; Sat, 19 Nov 2005 11:08:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z8H5CTIDTKjODZyjWhAxisR7bWlLtjVJYJ3Cn6HDG9luT9UJnsOYEpXz6ZE3FWjkyNegf+RRDatvqX+tnTB1iVO2BLr76iyrgZ2LXi7DwUWRjC+Q/jj4IX8BrGP+Kc8Uzy6snubA1Ua9Lvjl/lnh6ux4d8EP5fhQr+GmxB9d1v4= Received: by 10.65.93.13 with SMTP id v13mr1204737qbl; Sat, 19 Nov 2005 11:08:12 -0800 (PST) Received: by 10.65.194.1 with HTTP; Sat, 19 Nov 2005 11:08:12 -0800 (PST) Message-ID: <85901b690511191108v14bd599ah8293178dd3e461ea@mail.gmail.com> Date: Sat, 19 Nov 2005 21:08:12 +0200 From: sempsteen To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] about ccache permission adjusting In-Reply-To: <7573e9640511191011j5a8373d2od611d8d0ade69763@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <85901b690511190533x57175e4fgb23de50f7986d66e@mail.gmail.com> <7573e9640511191011j5a8373d2od611d8d0ade69763@mail.gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jAJJ8CNX027841 X-Archives-Salt: 83116792-a178-4422-ad88-4cedbd758164 X-Archives-Hash: ea631a6faa4175e011d64577f75507ed >> First, there is no need to post your message multiple times. I didn't know that i sent it multiple times?. I've sent one to "gentoo-user@lists.gentoo.org" by mistake and when i figure out this i wrote another one to "gentoo-user@gentoo.org". From your message i see that both are the same way. I'm realy sorry about this. >> Also, you should only post in plain text...no HTML/Rich formatting. You're right, sorry again. I'll never do that again. And thank for your considerations and answer. On 11/19/05, Richard Fish wrote: > On 11/19/05, sempsteen wrote: > > Hi, > > I've changed my CFLAGS settings and merged ccache for later works. Now i'm > > updating my system with "emerge -e world". During merge i realize that > > ccache is adjusting permissions for 4 times per package; before merge, > > before unmerge of existing packages, after unmerge and after merge. It's > > something like this: > > > > --- !targe sym /usr/lib/libglib-2.0.so > > * Adjusting permissions on ccache in /root/.ccache > > >>> original instance of package unmerged safely. > > First, there is no need to post your message multiple times. Gmail > doesn't show your own postings to mailing lists, so you will not see > your message until someone resonds. Also, you should only post in > plain text...no HTML/Rich formatting. > > The Adjusting permissions is done in /usr/lib/portage/pym/portage.py. > Basically, it makes sure that the ccache directory is owned by > root:portage, and is group writable. If you use userpriv, it does the > same thing, but for owner portage:portage. > > Actually, there is a problem in the code in that it also looks for the > SETGUID bit, but doesn't set it. So if you want to avoid this, you > can set the SETGUID bit with: > > chmod -R 02770 /root/.ccache > > -Richard > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list