3 ms·
File picker is privileged and mediates access through monitor. Ditto for drag-and-drop. Problem (largely) solved.
by blattimwind 8y ago
File picker is privileged and mediates access through monitor. Ditto for drag-and-drop. Problem (largely) solved.
- aaaaaaaaaab 8y agoThat’s how macOS sandboxing works too.
- TeMPOraL 8y agoDo you open your files in PyCharm or VSCode through a file picker?
- blattimwind 8y agoDrag and drop project folder. Also, yes, I do open project directories using PyCharm's (poor) file picker.
- stephenr 8y agoI’d imagine once you open a directory you can open files within it (and child dirs)
- ReverseCold 8y agoYou open the parent project directory, right? That's how the file access controls work in MacOS. Sandboxed apps can't read files outside their sandbox until the user opens the directory/file in the file picker at least once. (Or something similar, I can't seem to find a source on that...)
- TeMPOraL 8y agoAh, ok. Makes more sense this way.