Closed art-dsit closed 4 days ago
It wasn't clear whether write_file should allow an existing file to be overwritten.
It should be allowed, as long as the sandbox user would be allowed to. I've added a test to clarify.
Original discussion https://inspectcommunity.slack.com/archives/C0805HJTK8U/p1731645089944059
This PR contains:
What is the current behavior? (You can also link to an open issue here)
It wasn't clear whether write_file should allow an existing file to be overwritten.
What is the new behavior?
It should be allowed, as long as the sandbox user would be allowed to. I've added a test to clarify.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:
Original discussion https://inspectcommunity.slack.com/archives/C0805HJTK8U/p1731645089944059