etresoft wrote:
I'm certainly not going to tell you everything's fine with the operating system. I know that's not true. But in this particular case, the problem is a 3rd party app.
I have found that Etrecheck can help sort things like this out. The full disk access version (paid version) works best for this.
In my case, I got a new M5 MacBook Air. It's for my wife to use when we travel; her normal computer is a 2021 iMac which is still on Sonoma because she does not like me to update or upgrade. Since the customer is always right, I try to respect her wishes, although at some point Microsoft will force the upgrade of her iMac OS since our MS-365 subscription will require a more recent OS. (All my other Macs are fully updated to the latest version they can take.)
In any case, I used Migration Assistant (Setup Assistant, on first boot), and migrated over accounts and settings, but only files, no apps. So all apps were installed fresh. So far, these non-Apple apps include only Firefox, Dropbox, and MS-365 (subscription). Dropbox and MS-365 do create some background processes, mostly for update checks and file sync (for Dropbox).
I did see that "allow <unknown> to find files on the network" initially with this new Mac that had very little installed. The notification appeared only when logging out or shutting down. So I surmised that something "leftover" was migrated over. It actually helps to review carefully the Etrecheck Report. Mine did not provide any information about unsigned apps and the like, after all the Mac is very new with little installed so far. However the Etrecheck Report did show this:
Firewall Blocked Apps: Microsoft/com.microsoft.Messenger
I thought this might be a clue. Although the Microsoft Messenger app no longer exists, I did find a com.microsoft.Messenger plist file dated 2010 and also a similarly named file in a cache folder, also dating from 2010. I deleted both of these and emptied the Trash, and so far have not seen any repeat of that "allow 'unknown'" notification.
It might return but so far has not.
My point is that in addition to the obvious "unsigned files" and the like that Etrecheck finds and lets the user know about, it finds other things as well that can provide valuable insights. I don't know which of those two files was causing this, but Etrecheck did point me in the right direction. I did have to use FindAnyFile to actually find those files as they were buried in the System Folder (not the user System folder) and somewhat obscure. Maybe this is a minor flaw in Setup/Migration Assistant that brought over those files and then Golden Gate somehow keyed off them. Since neither was an app nor an extension, I was a bit surprised about this but there is a lot in the modern macOS that I do not understand. I do know that sometimes anomalies can occur when the macOS "remembers" something that it should not be using anymore, and in this case it might have been those obscure files from 2010 for an app that no longer exists (hence maybe the reason it was called "unknown" in the Notification).