#✅ - Access to file denied (using path relative to file system root?) (bug in fsWrite?)

1 messages · Page 1 of 1 (latest)

warm thicket
#

Straight out of the box (although I did enable migration from vs code), when getting Kiro to write a spec I had this error:

Error(s) while creating

react-migration.md

Access denied: File access is restricted to workspace. Attempted path: /.kiro/steering/react-migration.md. The agent has seen this error and will try a different approach to write the file if needed.

When I copy-pasted this back into the agent, it said "This appears to be a bug in how the fsWrite tool is resolving relative paths."

vestal roost
#

This is happening to me too on Linux after updating to the latest version (0.9.40). macOS seems OK

warm thicket
#

Here's the "about" window for me:

Version: 0.9.40
VSCode Version: 1.107.1
Commit: 574ac85778c557320e71ebb200bb0e0d169d41b8
Date: 2026-02-12T17:41:52.094Z
Electron: 39.2.3
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Linux x64 6.8.0-94-generic
timber lynx
#

Same behavior for me on Mint 22.3, which is similar to Ubuntu 24.04

#

I saw https://discord.com/channels/1374034175430230016/1471874834077057137 mentioning needing glibc 2.39, but I confirmed that I have that:

$ ldd --version
ldd (Ubuntu GLIBC 2.39-0ubuntu8.7) 2.39
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
#

@idle adder is this good place to share details, or is there a better thread?

idle adder
#

We are tracking this and working on a fix

#

@timber lynx

timber lynx
#

Thanks! I am now following that other post. Let me know if there is anything I can provide and/or test

warm thicket
#

Downloading the newest version seemed to fix it

idle adder
#

Yes, please update to the latest version 0.10.32 which should contain the fix, but let me know if you are still having issues