Closed ttys42 closed 7 years ago
does this mean we need to embed the entitlements.plist into the command line app?
Excuse me, the issue appears on the StartSession part. I do not think this is an entitlement issue as I can see the issue on non sandboxed applications as well
Interesting, can you narrow down the specific file or accessor that is returning the error?
Yes, it seems access to /var/db/lockdown has been restricted
drwx------ 5 _usbmuxd _usbmuxd 170 Aug 12 07:28 lockdown
Inside it looks same as in older versions of OS X
-rw-rw-rw- 1 root _usbmuxd 9445 Aug 12 07:28 xxxxxxxxxxxxxxxxxxxxxxx.plist
I think I am going to close this as I don't see a practical way around this other than to require sudo. There should probably be a OS check added and tell the user to sudo, but I think that is a separate issue from this.
Hi. It seems that in latest 10.12 higher privileges are required to run StartService.
Running with sudo works fine