From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jsS1e-0003yL-03 for ptxdist@pengutronix.de; Mon, 06 Jul 2020 16:23:18 +0200 Received: from mol by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jsS1d-0000yv-Ip for ptxdist@pengutronix.de; Mon, 06 Jul 2020 16:23:17 +0200 Date: Mon, 6 Jul 2020 16:23:17 +0200 From: Michael Olbrich Message-ID: <20200706142317.GC19479@pengutronix.de> References: <45ebcf27-ab4b-89b2-5214-75a9aa83d477@ppc-ag.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <45ebcf27-ab4b-89b2-5214-75a9aa83d477@ppc-ag.de> Subject: Re: [ptxdist] Yet another permission clash rootfs and rootfs-addons List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Mon, Jul 06, 2020 at 04:09:06PM +0200, Mircea Ciocan wrote: > Sorry for noise, but I've got yet another permission clash that > unfortunately is not (for me) easily solvable: > > Incompatible ownership or permissions for '/root': > rootfs: 0.0 0700 > rootfs-addons: 0.0 0755 (implicit) > > One of these packages must be fixed! > > ./ptxdist-2020.07.0/rules/image-root-tgz.make:29: recipe for target > './platform-MCIMX6ULL-EVK/images/root.tgz' failed > > I deactivated the rootfs /media (bit of a lame solution) from the previous > report, until a proper fix is done, but how do I repair this ? rootfs-addons is a local package in your BSP, right? You need to create /root there as well with the correct permission: @$(call install_copy, rootfs-addons, 0, 0, 0700, /root) This must be done before installing any files inside /root. I think I need to improve the error message for this... Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de