unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / 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; 3+ 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] 3+ 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; 3+ 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] 3+ 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
  0 siblings, 0 replies; 3+ 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] 3+ messages in thread

end of thread, other threads:[~2021-01-11 13:40 UTC | newest]

Thread overview: 3+ 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

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git