I am working on the sandbox of my applications and I have a problem because the library I use creates temporary files when it modifies the source file, for example.
When he changes something in "Hello World.txt", he will create the file "Hello World_temp.txt" in the same directory, and then when he finishes, he will replace both files.
This, of course, violates the rules of the sandbox, because you are allowed to modify the source file, and not create other files in the folder.
I can’t find any recommendations on what to do with temporary files, so now I’m going to create a temporary file in the application container, where I am allowed to write and then change the files .. however, that’s not very good if the application and file are on different drives, because it will include copying , not moving.
Is there room for temporary files that we are allowed to write to?
Respectfully,
Franc
source share