Debug startup process
Hi
About 15 to 30 seconds after starting my iMac (M1, BigSur) all programms in /Applications are deleted, except Safari and the programms in /System/Applications. I know this because I made a LaunchDaemon that ls the content of /Applications into a file every ten seconds. How can I find out, what is causing this?
Thanks for any insight.
About 15 to 30 seconds after starting my iMac (M1, BigSur) all programms in /Applications are deleted, except Safari and the programms in /System/Applications. I know this because I made a LaunchDaemon that ls the content of /Applications into a file every ten seconds. How can I find out, what is causing this?
Thanks for any insight.
Comments
sudo opensnoop
sudo fs_usage -f filesys
If you run those just after boot, it should log which process is affecting the apps.
You can also try booting without wifi to see if the apps are being removed from a network command. Also try booting in safe mode by holding shift to see if it still removes them:
https://support.apple.com/en-us/HT201255