From nobody Fri Sep 30 20:19:32 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MfM5h0zj2z4YKKx for ; Fri, 30 Sep 2022 20:19:36 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MfM5g1n9Nz3Qfp for ; Fri, 30 Sep 2022 20:19:35 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1664569172; bh=ZrKBQ6SWOlxN88fkj23VsclNseEFJWgGdpR17M7oPFU=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject: Content-Language:To:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=4/kBidhoeQynZLW4LoM1XnvuBAvok7Uf21dHdALjAoDo2FotbEXiYphJ0NYLR2/Vt nbLOgXaA4PhqPtIV94bzkVgoXNs9XvnP0/W69ApRZ8BgOL4P9Oq2clDICXrdWtX/ya EYpS1FO20r1nn7NhpARvDnturw2HKdCF7kWWxoQofXewA/bFddthmyTXo+R8QvD5h2 3BNjmhie1p4KcvlPfupAsqXrgDAHBSCw1mb10VGLVyr1SzQ76pnbHPQ1izPQHPzWH9 Xb+8sNzwLOe4w85inZ0j6E76L43MGDn73Wr+14Fz8dCn4oNTgs5bL+IxlRjE5DxutG b24wQz9ZC3fJa847xwIZVT1bjx5vnRLwWP7m7HiiSzmOy4JMsBEDQs6Ci6d6lOeEns TvH+2sSPZ8YFWIZ9aBnA4BfmQprpnVI1BE6JydQ6Pkgqc2RXP6GZjAu55wDeCPWjhq EWuRJOHJnI0J8F4lg7y9hcocgx4DdKTnRp3syHHHiFHj3Kp4t8qvo0n4zVhN88f7WD 3hDNBcHCCi4O5g4O8VWN228ebj7hi6L9WqsXktCXJsRBZqFQpTvOTdpFLGdTe0rKm3 EzTzalJiwDOJ+uDmfcKICcNqLt05mmlynBpmp7hYKGhjSVBLnzYqNFYAuMeje1kDR5 iL8O3+40rZubYl23DxngtW3U= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 30 Sep 2022 13:19:32 -0700 Message-ID: <99acb9a4-60b2-464f-0899-9a9cb703c5e8@holgerdanske.com> Date: Fri, 30 Sep 2022 13:19:32 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: Fwd: mkdir error message -- what does this mean? Content-Language: en-US To: questions@freebsd.org References: From: David Christensen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4MfM5g1n9Nz3Qfp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b="4/kBidho"; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; R_SPF_ALLOW(-0.20)[+a:november.he.net]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[holgerdanske.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N >> On Fri, Sep 30, 2022 at 02:35:14PM -0400, Aryeh Friedman wrote: >>> 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 > On Fri, Sep 30, 2022 at 2:43 PM Andreas Kusalananda Kähäri wrote: >> 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. On 9/30/22 11:51, Aryeh Friedman wrote: > Did a ls -l one dir at a time, no symlinks. Why '%' in the shell prompt? Please run the following commands as user "dnixon" on host "sft" and post the entire console session -- prompts, commands entered, and output produced: % cat /etc/debian_version ; uname -a % echo $SHELL % alias sudo % type -t sudo % which sudo % sudo echo $SHELL % sudo alias mkdir % sudo type -t mkdir % sudo which mkdir % mount | egrep "fsvc|clients|specMed|LIVE|master" David