mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Cc: Mircea Ciocan <m.ciocan@ppc-ag.de>
Subject: Re: [ptxdist] Installing a file in the /root directory.
Date: Tue, 23 Jun 2020 15:59:00 +0200	[thread overview]
Message-ID: <20200623135859.nnmrehechslv2ty5@falbala.internal.home.lespocky.de> (raw)
In-Reply-To: <63e30a3b-f82d-032c-b7c1-62b425ed8b84@ppc-ag.de>


[-- Attachment #1.1: Type: text/plain, Size: 1385 bytes --]

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 projectroot
> 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, everything
> 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:
> 
>         @$(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

-- 
/"\ ASCII RIBBON | »With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.«
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2020-06-23 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-23 12:20 Mircea Ciocan
2020-06-23 13:59 ` Alexander Dahl [this message]
2020-06-23 15:16   ` Mircea Ciocan
2020-06-24 10:01     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200623135859.nnmrehechslv2ty5@falbala.internal.home.lespocky.de \
    --to=post@lespocky.de \
    --cc=m.ciocan@ppc-ag.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox