claude-code
claude-code copied to clipboard
[Bug] Write tool bypasses user allowlist by using cat+mv workaround instead of atomic writes
Bug Description write tool fails often, needs to read and then only write. So claude starts doing cat commands into /tmp folder and then moves them into the repo. Now, the move command isn't allowed in my allowlist - because of obvious reasons (claude can accidentally move the file into a zombie directory, specially for long running tasks). Can you please have this fixed itnernally? I have to tell it regularly to use touch+read and then write, which works.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.49
- Feedback ID: ab6b63a8-d357-4c6b-90af-3023ca58ac8d
Errors
[]