Posts

Post not yet marked as solved
2 Replies
Just to close this out, the long and the short is that it appears SearchKit doesn't work when run as the root user (from what I can tell). I'm assuming this is for security reasons to revent importer plugins being loaded and run as root when they shouldn't be. Taking a look at the processes (and what user they're running as) which make up the Spotlight service sort of indicate this is the case.I'd been confused because my test programs where using FileManager.homeDirectoryForCurrentUser which I'd forgotten and was causing the test program to try indexing the wrong path when run as the wrong user. Put a somewhat embarrassing spanner in the works 😀.