Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there

DoneSubmitted by David Truby.
Details
2 participants
  • David Truby
  • zimoun
Owner
unassigned
Severity
normal
D
D
David Truby wrote on 13 Oct 2019 17:54
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
AM6PR08MB37013DFED4D104499A3D58CFF3910@AM6PR08MB3701.eurprd08.prod.outlook.com
Hi Guix, When following the Contributing section of the manual in my home directory, I was unable to use the built guix to do anything as I hit upon a message saying "error: failed to run download program '/home/truby/src/guix/scripts/guix': Permission denied​" After some debugging I realised this was because my home directory was not world readable. I think to avoid other people having this problem it might be worth mentioning in the manual that the source directory needs to be readable by the guixbuild group for the users in that group to be able to actually build anything. (In hindsight, this seems obvious to me. But it wasn't when I first ran through that section of the manual!) Thanks David Truby IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Attachment: file
Z
Z
zimoun wrote on 21 Dec 2020 14:13
(name . David Truby)(address . David.Truby@arm.com)(address . 37737@debbugs.gnu.org)
86r1nj9u9a.fsf@gmail.com
Hi,
Sorry for the long delay.
On Sun, 13 Oct 2019 at 15:54, David Truby <David.Truby@arm.com> wrote:
Toggle quote (13 lines)> When following the Contributing section of the manual in my home> directory, I was unable to use the built guix to do anything as I hit> upon a message saying "error: failed to run download program> '/home/truby/src/guix/scripts/guix': Permission denied​">> After some debugging I realised this was because my home directory was> not world readable. I think to avoid other people having this problem> it might be worth mentioning in the manual that the source directory> needs to be readable by the guixbuild group for the users in that> group to be able to actually build anything. (In hindsight, this seems> obvious to me. But it wasn't when I first ran through that section of> the manual!)
Since it appears to me obvious, I am not sure to see how to improve.Because you ran into the problem, do you want to give a try in rewordingsomewhere in the manual?

All the best,simon
Z
Z
zimoun wrote on 11 Jan 14:31 +0100
(name . David Truby)(address . David.Truby@arm.com)(address . 37737@debbugs.gnu.org)
86y2gzsipk.fsf@gmail.com
Hi,
On Mon, 21 Dec 2020 at 14:13, zimoun <zimon.toutoune@gmail.com> wrote:
Toggle quote (19 lines)> On Sun, 13 Oct 2019 at 15:54, David Truby <David.Truby@arm.com> wrote:>>> When following the Contributing section of the manual in my home>> directory, I was unable to use the built guix to do anything as I hit>> upon a message saying "error: failed to run download program>> '/home/truby/src/guix/scripts/guix': Permission denied​">>>> After some debugging I realised this was because my home directory was>> not world readable. I think to avoid other people having this problem>> it might be worth mentioning in the manual that the source directory>> needs to be readable by the guixbuild group for the users in that>> group to be able to actually build anything. (In hindsight, this seems>> obvious to me. But it wasn't when I first ran through that section of>> the manual!)>> Since it appears to me obvious, I am not sure to see how to improve.> Because you ran into the problem, do you want to give a try in rewording> somewhere in the manual?
Do you think it is worth to add one line in this section about Buildingfrom Git [1] or this one about Running from Source [2]?
1: https://guix.gnu.org/manual/devel/en/guix.html#Building-from-Git2:https://guix.gnu.org/manual/devel/en/guix.html#Running-Guix-Before-It-Is-Installed
All the best,simon
Z
Z
zimoun wrote on 27 Jan 23:59 +0100
control message for bug #37737
(address . control@debbugs.gnu.org)
867dnyhtpt.fsf@gmail.com
tags 37737 + moreinfoquit
Z
Z
zimoun wrote on 24 Mar 22:47 +0100
Re: bug#37737: Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there
(name . David Truby)(address . David.Truby@arm.com)(address . 37737-done@debbugs.gnu.org)
86im5gb4vq.fsf@gmail.com
Hi,
On Mon, 11 Jan 2021 at 14:31, zimoun <zimon.toutoune@gmail.com> wrote:
Toggle quote (26 lines)> On Mon, 21 Dec 2020 at 14:13, zimoun <zimon.toutoune@gmail.com> wrote:>> On Sun, 13 Oct 2019 at 15:54, David Truby <David.Truby@arm.com> wrote:>>>>> When following the Contributing section of the manual in my home>>> directory, I was unable to use the built guix to do anything as I hit>>> upon a message saying "error: failed to run download program>>> '/home/truby/src/guix/scripts/guix': Permission denied​">>>>>> After some debugging I realised this was because my home directory was>>> not world readable. I think to avoid other people having this problem>>> it might be worth mentioning in the manual that the source directory>>> needs to be readable by the guixbuild group for the users in that>>> group to be able to actually build anything. (In hindsight, this seems>>> obvious to me. But it wasn't when I first ran through that section of>>> the manual!)>>>> Since it appears to me obvious, I am not sure to see how to improve.>> Because you ran into the problem, do you want to give a try in rewording>> somewhere in the manual?>> Do you think it is worth to add one line in this section about Building> from Git [1] or this one about Running from Source [2]?>> 1: <https://guix.gnu.org/manual/devel/en/guix.html#Building-from-Git>> 2:<https://guix.gnu.org/manual/devel/en/guix.html#Running-Guix-Before-It-Is-Installed>
Since it seems clear to me, the bug had been opened on Oct. 2019, askedmoreinfo twice on Dec. 2020 and Jan. 2021 and now we are on March,closing!
Feel free to reopen the bug if I miss something.

All the best,simon
Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 37737@debbugs.gnu.org