I have just started a project to write a filesystem implementation in Swift.
The project will only ever be useful on macOS, otherwise I'd probably stick to C.
Next, using the above as an example, I tried putting together a simple example that has a real stupid, simple implementation of just attributesOfItem, attributesOfFileSystem, and contentsOfDirectory. It compiles and runs. However, no file system gets mounted. I get the message "fuse: failed to exec mount program: Operation not permitted" in the console.
I'm hoping someone might have an idea of what the problem is. At the moment, I have the following two hypothesis which I will pursue over the weekend:
1. There is some permission setting, entitlement, etc that's set in Herzog's example that I'm overlooking
2. My toy example is too simple and I'm not implementing a necessary function.
Thanks,
Matt