From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-eopbgr00110.outbound.protection.outlook.com ([40.107.0.110] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiyyC-0003uM-Cu for ptxdist@pengutronix.de; Wed, 10 Jun 2020 13:32:37 +0200 From: Bruno Thomsen Date: Wed, 10 Jun 2020 11:32:31 +0000 Message-ID: References: <20200610093524.GG4898@develop-10-146> In-Reply-To: <20200610093524.GG4898@develop-10-146> Content-Language: en-US MIME-Version: 1.0 Subject: Re: [ptxdist] Hard-coded directory permissions 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" > From: ptxdist on behalf of Nico Lastzka = > Sent: Wednesday, June 10, 2020 11:35 > To: ptxdist@pengutronix.de > Subject: [ptxdist] Hard-coded directory permissions = > > Hi, > > I ran into a problem with the latest ptxdist 2020.06 when trying to insta= ll an ssh key to > "/root/.ssh/authorized_keys". > = > = > Here, the "image-enhancements rule" contains the following code which bre= aks the image creation: > = > =A0=A0=A0=A0 @$(call install_copy, image_enhancements, 0, 0, 0400, $(PTXD= IST_PLATFORMCONFIGDIR)/access/key-develop_id_ed25519.pub, /root/.ssh/author= ized_keys ) I think you need to create the parent directory first with correct permissi= ons. @$(call install_copy, image_enhancements, 0, 0, 0400, /root/.ssh) /Bruno _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@p= engutronix.de