From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7199546208794181632 X-Received: by 2002:a05:6871:4983:b0:17e:e3b2:6d99 with SMTP id tx3-20020a056871498300b0017ee3b26d99mr10158988oab.9.1680461087786; Sun, 02 Apr 2023 11:44:47 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:a185:b0:176:30d5:30b9 with SMTP id a5-20020a056870a18500b0017630d530b9ls3380690oaf.9.-pod-prod-gmail; Sun, 02 Apr 2023 11:44:47 -0700 (PDT) X-Google-Smtp-Source: AKy350Z+Sel4d2b5v78YV+bZLVVVdpUgYZ+r/IbEm2haG0KqobECBuMNE7M/NMIoOjsjLDjcWWQJ X-Received: by 2002:a05:6870:1712:b0:17a:edaa:1cf2 with SMTP id h18-20020a056870171200b0017aedaa1cf2mr22492924oae.50.1680461087051; Sun, 02 Apr 2023 11:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680461087; cv=none; d=google.com; s=arc-20160816; b=PEdiHjeK3umh30hPsR5CS2M1mcsoOC9dKoUVVTFT2A7icu+R1jHxxN3ImLj4JFVsln WwNRkXGSPOEqmmakoNDOQo264mLlt5v64dxdhhpaxDK99XPK7QRU2EtP8wQkQIW+Sty5 O4c/mq1XxHv+fugXxcX+DigIrNlqSOnuX5FKfWc0M/cxqZXELMUOf9cVtLVuSEwAhw80 Cw2E5rHccOSczzJonuEbWER+FgFMDGSsvHfMQkL9qg68uuO7PerCmcfhg5S+QM1PUwQq 03uoL01tOlRwegv3hzMfAfq3hToFRNxbcQi3EFj4/4WTjFhriMKT1IV0h7q8HAma4Ayx i9Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=nu3wpG/tPwLPCH30Y9xHdL8hWtgr0X1OlFVaRO01CSM=; b=Ww1Etg/t/gifYFoEgbJuewhLJiK7YyEkIUWwnx/V/QM0YhNyv8A4H0QZzbgR8WXsJZ FFp8+3u4TWD8cqJEl3gDz9N68EFGxO+YldIzTnf9uJvPJMeHogO3DeCdX4JSQr1Hcrfz dsUuv08eknxWRqB+a21hVEuXOyN+BOCYRLJgHAZMrtb0fu2hO7/yMrWyYOKwoiWJ9k1M 0rDoBBcEK13oO1JqWdD1ELDpu3pM0eq+mDqE1K02AfhRC8/UqFwoV6IN/tGp1l281s8L tbUrZHZVfUyiLvw7Vw3HSlKpyNIAkVuYSGAw+aU2uQNzmClQAGj7ighNJYMm/1jY+DLe B/rw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id y18-20020a0568302a1200b006a12b6325c7si713564otu.4.2023.04.02.11.44.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Apr 2023 11:44:46 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from ilbers.de (dslb-178-011-103-080.178.011.pools.vodafone-ip.de [178.11.103.80]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 332IihJh029435 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 2 Apr 2023 20:44:45 +0200 Date: Sun, 2 Apr 2023 20:44:38 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH v2 0/4] Fix ccache issues Message-ID: Mail-Followup-To: isar-users@googlegroups.com References: <20230213075611.5694-1-amikan@ilbers.de> <4608991.vXUDI8C0e8@hp> <2105157.9o76ZdvQCi@hp> <9c4580332e0520197ed589f26af61c89ca8bb955.camel@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9c4580332e0520197ed589f26af61c89ca8bb955.camel@siemens.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: BlJQJzZrsFsB On 2023-03-29 12:43, Moessbauer, Felix wrote: > > You might have /ccache/a/ created earlier by 'root', and not it can't > > create a > > subdir as sbuild user. > > Hi, this could very well be the case. However, when running in a CI on > a project with multiple branches (e.g. during feature integration), > this situation cannot be avoided. The cache is shared across all builds > of a single project, but these builds might use different ISAR > versions. > > This technically means, we need to update all branches of the project > in a lockstep to be able to re-enable the ccache. > > It would be good if we could find a way to avoid this situation. What about sudo addgroup ccache; sudo adduser build ccache; sudo chgrp -R ccache /ccache; sudo chmod -R g+w /ccache; find /ccache -type d |sudo xargs chmod g+s? Maybe also sudo adduser root ccache. With kind regards, Baurzhan