Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2022 14:51:10 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>,  FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Fwd: mkdir error message -- what does this mean?
Message-ID:  <CAGBxaXk5Thzdtud_ej1KGd4XCUsSYm-_4QtNZJHqCMG48A%2B_Qg@mail.gmail.com>
In-Reply-To: <Yzc44MPka/dFNEL1@harpo.local>
References:  <e293b9c3b1c168ad1eee3a65510b1aa9@nyclocal.net> <CAGBxaXnc_ornipZxX=NgoDagCjcU80vMXZ1EjZr8j-8RrcdJnw@mail.gmail.com> <Yzc44MPka/dFNEL1@harpo.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Did a ls -l one dir at a time, no symlinks.

On Fri, Sep 30, 2022 at 2:43 PM Andreas Kusalananda K=C3=A4h=C3=A4ri
<andreas.kahari@abc.se> wrote:
>
> On Fri, Sep 30, 2022 at 02:35:14PM -0400, Aryeh Friedman wrote:
> > ---------- Forwarded message ---------
> > From: Dee Nixon <dnixon-fnwe@nyclocal.net>
> > Date: Fri, Sep 30, 2022 at 11:31 AM
> > Subject: mkdir error message -- what does this mean?
> > To: Aryeh Friedman <aryeh.friedman@gmail.com>
> >
> >
> >
> > What does the following mean?
> >
> >
> > dnixon@sft:/tmp % sudo mkdir
> > /fsvc/clients/specMed/LIVE/master/h11a9fpp-mkknhbci-2hjvbpc
> > mkdir: /fsvc/clients/specMed/LIVE/master/h11a9fpp-mkknhbci-2hjvbpc: Too
> > many links
> > dnixon@sft:/tmp %
> >
> > --
> >
> >
> > --
> > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>
>
> The error message usually says "Too many levels of symbolic links", so
> I'm assuming that you have translated it.
>
> It means that when creating the directory, a symbolic link was traversed
> that pointed back to itself, or in some other fasion created a loop.
>
> This can easily be recreated like this:
>
>         $ ln -s link .
>         $ ls -l
>         total 1
>         lrwxr-xr-x  1 myself  wheel  4 Sep 30 20:38 link -> link
>
> Then:
>
>         $ mkdir link/hello
>         mkdir: link/hello: Too many levels of symbolic links
>
> So, in your case, I would investigate whether any part of the target
> pathname "/fsvc/clients/specMed/LIVE/master/h11a9fpp-mkknhbci-2hjvbpc"
> is a symbolic link that points to somewhere where it shouldn't point.
>
> --
> Andreas (Kusalananda) K=C3=A4h=C3=A4ri
> SciLifeLab, NBIS, ICM
> Uppsala University, Sweden
>
> .



--=20
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXk5Thzdtud_ej1KGd4XCUsSYm-_4QtNZJHqCMG48A%2B_Qg>