GNU bug report logs - #46861
`guix deploy` permission denied error

Previous Next

Package: guix;

Reported by: pkill9 <pkill9 <at> runbox.com>

Date: Mon, 1 Mar 2021 21:44:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: pkill9 <pkill9 <at> runbox.com>
Cc: 46861 <at> debbugs.gnu.org
Subject: Re: bug#46861: `guix deploy` permission denied error
Date: Tue, 02 Mar 2021 13:44:46 +0100
Hi,

pkill9 <pkill9 <at> runbox.com> skribis:

> When I run Guix deploy, I get this error:
> ```
> guix deploy: error: open-file: Permission denied:
> "/home/itsme/.cache/guix/checkouts/last-expiry-cleanup"
> ```
>
> I've tried deleting ~/.cache/guix, and creating a chmod 777'd
> ~/.cache/guix directory, but I still get that error.

Can you show the ownership of ~itsme/.cache/guix/checkouts and
~itsme/.cache/guix/checkouts/last-expiry-cleanup?

It’s likely been caused by “sudo guix pull”, which changed the ownership
to root.  There’s no reason to run ‘guix deploy’ as root.

TIA,
Ludo’.




This bug report was last modified 4 years and 160 days ago.

Previous Next


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