From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.ppc-ag.de ([212.65.2.129]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jnkfJ-0007pt-2a for ptxdist@pengutronix.de; Tue, 23 Jun 2020 17:16:49 +0200 Received: from [10.40.4.2] (port=33698 helo=masv00063.ppc-ag.de) by mail.ppc-ag.de with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1jnkfG-0002O3-2A for ptxdist@pengutronix.de; Tue, 23 Jun 2020 17:16:46 +0200 Received: from localhost (localhost [127.0.0.1]) by masv00063.ppc-ag.de (Postfix) with ESMTP id 927D71AB6A15 for ; Tue, 23 Jun 2020 17:16:46 +0200 (CEST) Received: from masv00063.ppc-ag.de ([127.0.0.1]) by localhost (masv00063.ppc-ag.de [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id V7r6YDANJh14 for ; Tue, 23 Jun 2020 17:16:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by masv00063.ppc-ag.de (Postfix) with ESMTP id 5FD101AB6A1C for ; Tue, 23 Jun 2020 17:16:46 +0200 (CEST) Received: from masv00063.ppc-ag.de ([127.0.0.1]) by localhost (masv00063.ppc-ag.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xaGGiSN3cbHE for ; Tue, 23 Jun 2020 17:16:46 +0200 (CEST) Received: from [10.242.2.23] (unknown [10.242.2.23]) by masv00063.ppc-ag.de (Postfix) with ESMTPSA id 319161AB6A15 for ; Tue, 23 Jun 2020 17:16:46 +0200 (CEST) References: <63e30a3b-f82d-032c-b7c1-62b425ed8b84@ppc-ag.de> <20200623135859.nnmrehechslv2ty5@falbala.internal.home.lespocky.de> From: Mircea Ciocan Message-ID: <10680640-fd44-5c11-1ce4-7879f56c2409@ppc-ag.de> Date: Tue, 23 Jun 2020 17:16:45 +0200 MIME-Version: 1.0 In-Reply-To: <20200623135859.nnmrehechslv2ty5@falbala.internal.home.lespocky.de> Content-Language: en-US Subject: Re: [ptxdist] Installing a file in the /root directory. 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="windows-1252"; Format="flowed" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On 23.06.20 15:59, Alexander Dahl wrote: > Hei hei, > > On Tue, Jun 23, 2020 at 02:20:30PM +0200, Mircea Ciocan wrote: >> I want to install /root/.ssh/authorized_keys file from my board projectr= oot >> directory. >> >> Sadly even after reading the previous mail regarding a similar issue with >> systemd directory I'm not able to correctly install the file. >> >> I can create the /root/.ssh empty directory with the correct 0700 >> permissions, but I haven't found any way of putting a file there, everyt= hing >> fails with: >> >> Incompatible ownership or permissions for '/root': >> dropbear: 0.0 0755 (implicit) >> rootfs: 0.0 0700 >> >> One of these packages must be fixed! >> >> Could a kind soul give me a quick hint how to do this, in my projectroot, >> the directories and file are having proper permissions. >> >> >> Line that fails: >> >> =A0=A0=A0=A0=A0=A0=A0 @$(call install_alternative, dropbear, 0, 0, 0600, >> /root/.ssh/authorized_keys, n) > This is not part of ptxdist master branch 'rules/dropbear.make' and > from a quick glance in Git it was not for the last 10 years. Do you > have a customized rule in your BSP? > > Greets > Alex > That's the only "customization" made, I want to install an access key, = the rest of the rule is vanilla dropbear.make Cheers, Mircea _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@p= engutronix.de