Hi, as most Mac users know, the solution for the problem that Little Snitch blocks connections for Prey (preyproject.com) that Obdev is still publishing on their website (here: https://www.obdev.at/support/littlesnitch/201702171205251) is not working, because the internal architecture of the Little Snitch app seems to have changed. Therefore, I tried to apply the same solution using a different path to the app: sudo -u prey /Applications/Little\ Snitch.app/Contents/MacOS/Little\ Snitch
That seems to work: Little Snitch “resets” for the “new user”, walks you through the intro once again and then allows that the “temporary rule” for Prey is transformed into a permanent one.
However, even if this seems to work (I just did it and the coming hours and days will bring better results), the Terminal window brought up a TON of errors during this process, that I am copying here:
2022-08-03 14:33:16.259 Little Snitch[4070:308234] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener ‘ClientCallsAuxiliary’: Connection interrupted
2022-08-03 14:33:16.336 Little Snitch[4070:308234] could not create directory “/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/OfflineWebApplicationCache” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “OfflineWebApplicationCache” in the folder “WebKit”.” UserInfo={NSFilePath=/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/OfflineWebApplicationCache, NSUnderlyingError=0x600003eebae0 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.336 Little Snitch[4070:308234] could not create directory “/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/MediaKeys” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “MediaKeys” in the folder “WebsiteData”.” UserInfo={NSFilePath=/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/MediaKeys, NSUnderlyingError=0x600003ecad00 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.337 Little Snitch[4070:308234] could not create directory “/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/WebSQL” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “WebSQL” in the folder “WebsiteData”.” UserInfo={NSFilePath=/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/WebSQL, NSUnderlyingError=0x600003ecaeb0 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.337 Little Snitch[4070:308234] could not create directory “/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/IndexedDB” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “IndexedDB” in the folder “WebsiteData”.” UserInfo={NSFilePath=/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/IndexedDB, NSUnderlyingError=0x600003ecaee0 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.337 Little Snitch[4070:308234] could not create directory “/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/DeviceIdHashSalts” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “DeviceIdHashSalts” in the folder “WebsiteData”.” UserInfo={NSFilePath=/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/DeviceIdHashSalts, NSUnderlyingError=0x600003ecb3c0 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.337 Little Snitch[4070:308234] could not create directory “/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/NetworkCache” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “NetworkCache” in the folder “WebKit”.” UserInfo={NSFilePath=/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/NetworkCache, NSUnderlyingError=0x600003ecb930 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.337 Little Snitch[4070:308234] could not create directory “/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/ResourceLoadStatistics” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “ResourceLoadStatistics” in the folder “WebsiteData”.” UserInfo={NSFilePath=/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/ResourceLoadStatistics, NSUnderlyingError=0x600003ecb9c0 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.337 Little Snitch[4070:308234] could not create directory “/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/Default” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “Default” in the folder “WebsiteData”.” UserInfo={NSFilePath=/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/Default, NSUnderlyingError=0x600003ecb3f0 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.429 Little Snitch[4070:308234] could not create directory “/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/ServiceWorkers” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “ServiceWorkers” in the folder “WebKit”.” UserInfo={NSFilePath=/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/ServiceWorkers, NSUnderlyingError=0x600003ee0a20 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.429 Little Snitch[4070:308234] could not create directory “/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/LocalStorage” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “LocalStorage” in the folder “WebsiteData”.” UserInfo={NSFilePath=/var/empty/Library/WebKit/at.obdev.littlesnitch/WebsiteData/LocalStorage, NSUnderlyingError=0x600003ee0cc0 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.429 Little Snitch[4070:308234] could not create directory “/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/CacheStorage” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “CacheStorage” in the folder “WebKit”.” UserInfo={NSFilePath=/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/CacheStorage, NSUnderlyingError=0x600003ee0cf0 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:16.429 Little Snitch[4070:308234] could not create directory “/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/AlternativeServices” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “AlternativeServices” in the folder “WebKit”.” UserInfo={NSFilePath=/var/empty/Library/Caches/at.obdev.littlesnitch/WebKit/AlternativeServices, NSUnderlyingError=0x600003ee0d20 {Error Domain=NSPOSIXErrorDomain Code=1 “Operation not permitted”}}
2022-08-03 14:33:42.314 Little Snitch[4070:309031] Persistent UI failed to open file file:///private/var/empty/Library/Saved%20Application%20State/at.obdev.littlesnitch.savedState/window_3.data: No such file or directory (2)
I would very much appreciate to know what is (still) going wrong here, and if maybe a modification of the initial sudo command (sudo -u prey…) might make this go away.
THANK YOU.