GNU bug report logs - #37737
Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there

Previous Next

Package: guix;

Reported by: David Truby <David.Truby <at> arm.com>

Date: Sun, 13 Oct 2019 16:09:02 UTC

Severity: normal

Tags: moreinfo

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37737 in the body.
You can then email your comments to 37737 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37737; Package guix. (Sun, 13 Oct 2019 16:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Truby <David.Truby <at> arm.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 13 Oct 2019 16:09:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Truby <David.Truby <at> arm.com>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Documentation should mention that source checkout must be readable by
 the guixbuild group if guix-daemon is run from there
Date: Sun, 13 Oct 2019 15:54:47 +0000
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37737; Package guix. (Mon, 21 Dec 2020 13:17:01 GMT) Full text and rfc822 format available.

Message #8 received at 37737 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: David Truby <David.Truby <at> arm.com>
Cc: 37737 <at> debbugs.gnu.org
Subject: Re: bug#37737: Documentation should mention that source checkout
 must be readable by the guixbuild group if guix-daemon is run from there
Date: Mon, 21 Dec 2020 14:13:53 +0100
Hi,

Sorry for the long delay.

On Sun, 13 Oct 2019 at 15:54, David Truby <David.Truby <at> 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?


All the best,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#37737; Package guix. (Mon, 11 Jan 2021 13:40:01 GMT) Full text and rfc822 format available.

Message #11 received at 37737 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: David Truby <David.Truby <at> arm.com>
Cc: 37737 <at> debbugs.gnu.org
Subject: Re: bug#37737: Documentation should mention that source checkout
 must be readable by the guixbuild group if guix-daemon is run from there
Date: Mon, 11 Jan 2021 14:31:51 +0100
Hi,

On Mon, 21 Dec 2020 at 14:13, zimoun <zimon.toutoune <at> gmail.com> wrote:
> On Sun, 13 Oct 2019 at 15:54, David Truby <David.Truby <at> 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>

All the best,
simon





Added tag(s) moreinfo. Request was from zimoun <zimon.toutoune <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 27 Jan 2021 23:02:01 GMT) Full text and rfc822 format available.

Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Wed, 24 Mar 2021 21:59:02 GMT) Full text and rfc822 format available.

Notification sent to David Truby <David.Truby <at> arm.com>:
bug acknowledged by developer. (Wed, 24 Mar 2021 21:59:02 GMT) Full text and rfc822 format available.

Message #18 received at 37737-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: David Truby <David.Truby <at> arm.com>
Cc: 37737-done <at> debbugs.gnu.org
Subject: Re: bug#37737: Documentation should mention that source checkout
 must be readable by the guixbuild group if guix-daemon is run from there
Date: Wed, 24 Mar 2021 22:47:53 +0100
Hi,

On Mon, 11 Jan 2021 at 14:31, zimoun <zimon.toutoune <at> gmail.com> wrote:
> On Mon, 21 Dec 2020 at 14:13, zimoun <zimon.toutoune <at> gmail.com> wrote:
>> On Sun, 13 Oct 2019 at 15:54, David Truby <David.Truby <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 22 Apr 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.