unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37737: Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there
@ 2019-10-13 15:54 David Truby
  2020-12-21 13:13 ` zimoun
  0 siblings, 1 reply; 4+ messages in thread
From: David Truby @ 2019-10-13 15:54 UTC (permalink / raw)
  To: 37737

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

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 #2: Type: text/html, Size: 2883 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37737: Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there
  2019-10-13 15:54 bug#37737: Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there David Truby
@ 2020-12-21 13:13 ` zimoun
  2021-01-11 13:31   ` zimoun
  0 siblings, 1 reply; 4+ messages in thread
From: zimoun @ 2020-12-21 13:13 UTC (permalink / raw)
  To: David Truby; +Cc: 37737

Hi,

Sorry for the long delay.

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?


All the best,
simon




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37737: Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there
  2020-12-21 13:13 ` zimoun
@ 2021-01-11 13:31   ` zimoun
  2021-03-24 21:47     ` zimoun
  0 siblings, 1 reply; 4+ messages in thread
From: zimoun @ 2021-01-11 13:31 UTC (permalink / raw)
  To: David Truby; +Cc: 37737

Hi,

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>

All the best,
simon





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37737: Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there
  2021-01-11 13:31   ` zimoun
@ 2021-03-24 21:47     ` zimoun
  0 siblings, 0 replies; 4+ messages in thread
From: zimoun @ 2021-03-24 21:47 UTC (permalink / raw)
  To: David Truby; +Cc: 37737-done

Hi,

On Mon, 11 Jan 2021 at 14:31, zimoun <zimon.toutoune@gmail.com> wrote:
> 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-24 21:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-13 15:54 bug#37737: Documentation should mention that source checkout must be readable by the guixbuild group if guix-daemon is run from there David Truby
2020-12-21 13:13 ` zimoun
2021-01-11 13:31   ` zimoun
2021-03-24 21:47     ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).