On Wed 10/06/20 11:32, Bruno Thomsen wrote:
From: ptxdist <[email protected]> on behalf of Nico Lastzka
<[email protected]>
Sent: Wednesday, June 10, 2020 11:35
To: [email protected] <[email protected]>
Subject: [ptxdist] Hard-coded directory permissions
Hi,
I ran into a problem with the latest ptxdist 2020.06 when trying to install an
ssh key to
"/root/.ssh/authorized_keys".
Here, the "image-enhancements rule" contains the following code which breaks
the image creation:
@$(call install_copy, image_enhancements, 0, 0, 0400,
$(PTXDIST_PLATFORMCONFIGDIR)/access/key-develop_id_ed25519.pub,
/root/.ssh/authorized_keys )
I think you need to create the parent directory first with correct permissions.
@$(call install_copy, image_enhancements, 0, 0, 0400, /root/.ssh)
Already tried that without success.
/Bruno
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]