🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.stable
5 messages
5 total messages Started by Pete French Wed, 18 Nov 2026 18:30
Claude Code in Linuxulator now getting "ENOTDIR" in /tmp
#47
Author: Pete French
Date: Wed, 18 Nov 2026 18:30
26 lines
4480 bytes
I updated STABLE today, to pull in the ZFS fix, but I am now having
problems with Claude Code in that it gets ENOTDIR when trying to work
in /tmp. I run this in the Linuxulator, as they dont have BSD binary.
My last STABLE update was only last week, so this is a change which has
gone in very recently. Its happening across several mahcines and
in both amd64 and arm64.

On existing sessions I gte:
Error: task output swap refused (open refused a swapped leaf (ENOTDIR))

On new sessions I get:
Error: ENOTDIR: not a directory, mkdir

I have checked the paths, and they are definitely directories
still. I also tried deleting everything and running from scratch,
but it hits the same problem. It claims the errors come from
bash, but I ahve tried to repruduce this outside Claude using
the bash in /compat/linux but I cant. Am a bit stumped on where
to go next to try and debug this.

-pete.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Claude Code in Linuxulator now getting "ENOTDIR" in /tmp
#48
Author: Alan Somers
Date: Wed, 18 Nov 2026 19:08
34 lines
6324 bytes
On Wed, Nov 18, 2026 at 11:35 AM Pete French <pete@twisted.org.uk> wrote:
>
> I updated STABLE today, to pull in the ZFS fix, but I am now having
> problems with Claude Code in that it gets ENOTDIR when trying to work
> in /tmp. I run this in the Linuxulator, as they dont have BSD binary.
> My last STABLE update was only last week, so this is a change which has
> gone in very recently. Its happening across several mahcines and
> in both amd64 and arm64.
>
> On existing sessions I gte:
> Error: task output swap refused (open refused a swapped leaf (ENOTDIR))
>
> On new sessions I get:
> Error: ENOTDIR: not a directory, mkdir
>
> I have checked the paths, and they are definitely directories
> still. I also tried deleting everything and running from scratch,
> but it hits the same problem. It claims the errors come from
> bash, but I ahve tried to repruduce this outside Claude using
> the bash in /compat/linux but I cant. Am a bit stumped on where
> to go next to try and debug this.
>
> -pete.

I know this isn't answering the question you asked, but now that
misc/opencode is in ports I no longer see the need for Claude Code.
opencode does not need the linuxulator, and it can connect to your
Anthropic account.  I'm using it happily.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Claude Code in Linuxulator now getting "ENOTDIR" in /tmp
#49
Author: Mark Millard
Date: Wed, 18 Nov 2026 19:14
42 lines
8009 bytes
On 11/18/26 10:30, Pete French wrote:
> I updated STABLE today, to pull in the ZFS fix, but I am now having
> problems with Claude Code in that it gets ENOTDIR when trying to work
> in /tmp. I run this in the Linuxulator, as they dont have BSD binary.
> My last STABLE update was only last week, so this is a change which has
> gone in very recently. Its happening across several mahcines and
> in both amd64 and arm64.
> 
> On existing sessions I gte:
> Error: task output swap refused (open refused a swapped leaf (ENOTDIR))
> 
> On new sessions I get:
> Error: ENOTDIR: not a directory, mkdir
> 
> I have checked the paths, and they are definitely directories
> still. I also tried deleting everything and running from scratch,
> but it hits the same problem. It claims the errors come from
> bash, but I ahve tried to repruduce this outside Claude using
> the bash in /compat/linux but I cant. Am a bit stumped on where
> to go next to try and debug this.
> 
> -pete.
> 
> 

If this was your first use of Claude Code 2.1.251+ you may need to
revert to, say, Claude Code 2.1.250 until it is updated. See:

https://github.com/anthropics/claude-code/issues/90984

(I looked because I was curious how to interpret the first error
message, not that I use Claude Code.)

-- 
===
Mark Millard
marklmi at yahoo.com


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Claude Code in Linuxulator now getting "ENOTDIR" in /tmp
#51
Author: Pete French
Date: Wed, 18 Nov 2026 21:17
22 lines
4237 bytes

On 18/11/2026 19:14, Mark Millard wrote:
>
> If this was your first use of Claude Code 2.1.251+ you may need to
> revert to, say, Claude Code 2.1.250 until it is updated. See:
> 
> https://github.com/anthropics/claude-code/issues/90984
> 
> (I looked because I was curious how to interpret the first error
> message, not that I use Claude Code.)
> 

Ah! I am on v2.1.327 - I just went back to 2.1.250 though, and
that now works agin. Thankyou!

-pete.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Claude Code in Linuxulator now getting "ENOTDIR" in /tmp
#50
Author: Pete French
Date: Wed, 18 Nov 2026 21:20
18 lines
4298 bytes

On 18/11/2026 19:08, Alan Somers wrote:
> I know this isn't answering the question you asked, but now that
> misc/opencode is in ports I no longer see the need for Claude Code.
> opencode does not need the linuxulator, and it can connect to your
> Anthropic account.  I'm using it happily.

It may not be answreing the quetsion directly, but it is giving
me a possibl working alternative, so thankyou ;-) Plus I
did not know this was in ports, so am off to give it a try!

-pete.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads