mirror of
https://github.com/storytold/texturecraft.git
synced 2026-12-01 21:47:59 +00:00
The button wrote <temp>/<name>.mcraft with a plain fs::write. On a shared temp folder another local user could plant a file or link at that guessable name first, and the write went through it. The package now goes into a new random folder made exclusively (0700 on Unix), as a create_new file; folders over a week old are swept. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>