unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tanguy LE CARROUR <tanguy@bioneland.org>
To: Nils Landt <nils@landt.email>, help-guix@gnu.org
Subject: Re: Guix home reconfigure fails with "In procedure symlink: permission denied"
Date: Thu, 06 Jun 2024 13:14:48 +0200	[thread overview]
Message-ID: <171767248806.24962.10616468566290960@bioneland.org> (raw)
In-Reply-To: <2055964033.499837.1717664551022@office.mailbox.org>

Hi Nils,


Quoting Nils Landt (2024-06-06 11:02:31)
> > Tanguy LE CARROUR <tanguy@bioneland.org> hat am 06.06.2024 08:49 CEST geschrieben:
> > Quoting Simon Tournier (2024-06-04 21:24:10)
> > > On Tue, 21 May 2024 at 11:38, Tanguy LE CARROUR <tanguy@bioneland.org> wrote:
> > > 
> > > >            2 (primitive-load "/gnu/store/fvly06ac6y0c01r8zavc2m1zfk6?")
> > > [...]
> > > >            0 (symlink "/gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-?" ?)
> > > [...]
> > > > # But files with longer names exist! Could the problem be the `?` caracter?
> > > > $ ls /gnu/store/fvly06ac6y0c01r8zavc2m1zfk6?*
> > > > /gnu/store/fvly06ac6y0c01r8zavc2m1zfk6pvhn9-files-builder
> > > >
> > > > $ ls /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-?*
> > > > /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-config
> […]
> I think /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-config is a file you
> generate, right? Using home-files-service-type, or some service that extends
> it.
> If so, try to see where you want it to be symlinked to. Maybe the target file
> exists twice in your guix home configuration, or it exists in your home
> directory but is owned by root?

mmmm… 🤔… oh, you’re right! 😁

The content of `*-file-builder` was not super helpful, but the content of
`*-config` looked a lot like my Sway configuration. So, I checked and…
I found a conflict, indeed! Thanks!!
Even though, IMHO, the error handling could be improved… a little.

Oh and reverting to a previous version of my config file didn’t help for
the problem came from a new file, recursively copied from a folder.

Case closed! Thanks again!

-- 
Tanguy


  reply	other threads:[~2024-06-06 11:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-21  9:38 Guix home reconfigure fails with "In procedure symlink: permission denied" Tanguy LE CARROUR
2024-06-04 19:24 ` Simon Tournier
2024-06-06  6:49   ` Tanguy LE CARROUR
2024-06-06  9:02     ` Nils Landt
2024-06-06 11:14       ` Tanguy LE CARROUR [this message]
2024-06-06 11:19         ` Nils Landt
2024-06-06 11:26           ` Tanguy LE CARROUR
2024-06-11 15:45     ` Ludovic Courtès
2024-06-12  6:25       ` Tanguy LE CARROUR

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=171767248806.24962.10616468566290960@bioneland.org \
    --to=tanguy@bioneland.org \
    --cc=help-guix@gnu.org \
    --cc=nils@landt.email \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).