4 ms·
Surely it can store files in a working folder of its own, and keep a reference to the original file. The other files don't need to live side-by-side
by sammorrowdrums 6y ago
Surely it can store files in a working folder of its own, and keep a reference to the original file. The other files don't need to live side-by-side
- justmedep 6y agoThere is official support for auxiliary files in macOS/sandbox. A prime example is the use of SQLite in WAL mode which requires write access to $dir/my_db.sqlite + a bunch of other files in the same directory (for transaction handling etc). But this problem was solved years ago already because Core Data (an apple framework) actually uses SQLite under the hood.
- szc 6y agoAbsolutely, but this then means if apps want to adopt some sort of sandboxing, they will quite possibly have to adopt or obey some rules. Sometimes app developers will refuse. Being pragmatic, what can be done then? Observing the system calls apps make can be eye-opening and sometimes very sad.