From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from xenon.active-elements.de ([88.99.59.87]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiz7m-0005K0-7f for ptxdist@pengutronix.de; Wed, 10 Jun 2020 13:42:30 +0200 Received: from Mail-10-6.ATS-Intranet.local (p57800e76.dip0.t-ipconnect.de [87.128.14.118]) by xenon.active-elements.de (Postfix) with ESMTPSA id EAA0840225E2 for ; Wed, 10 Jun 2020 13:42:27 +0200 (CEST) Date: Wed, 10 Jun 2020 13:42:25 +0200 From: Nico Lastzka Message-ID: <20200610114225.GH4898@develop-10-146> References: <20200610093524.GG4898@develop-10-146> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Wed 10/06/20 11:32, Bruno Thomsen wrote: >> 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 inst= all an ssh key to >> "/root/.ssh/authorized_keys". >> >> >> Here, the "image-enhancements rule" contains the following code which br= eaks the image creation: >> >> =A0=A0=A0=A0 @$(call install_copy, image_enhancements, 0, 0, 0400, $(PTX= DIST_PLATFORMCONFIGDIR)/access/key-develop_id_ed25519.pub, /root/.ssh/autho= rized_keys ) > >I think you need to create the parent directory first with correct permiss= ions. > >@$(call install_copy, image_enhancements, 0, 0, 0400, /root/.ssh) > Already tried that without success. >/Bruno >_______________________________________________ >ptxdist mailing list >ptxdist@pengutronix.de >To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@= pengutronix.de > > > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@p= engutronix.de