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

  • Done
  • quality assurance status badge
Details
2 participants
  • David Truby
  • zimoun
Owner
unassigned
Submitted by
David Truby
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 rewording
somewhere in the manual?


All the best,
simon
Z
Z
zimoun wrote on 11 Jan 2021 14:31
(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 Building
from Git [1] or this one about Running from Source [2]?


All the best,
simon
Z
Z
zimoun wrote on 27 Jan 2021 23:59
control message for bug #37737
(address . control@debbugs.gnu.org)
867dnyhtpt.fsf@gmail.com
tags 37737 + moreinfo
quit
Z
Z
zimoun wrote on 24 Mar 2021 22:47
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, asked
moreinfo 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

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 37737
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch