Live data from Hacker News

Tell HN: Zoom runs application from Time Machine backup when uninstalled on Mac

news.ycombinator.com

11–20 of 51 posts

Re: Tell HN: Zoom runs application from Time Machine backup when uninstalled on Mac

#12
post #9

Sort of sidetracking, but: afaik applications open from a browser via a custom protocol in a link, and for that the application has to be already installed—unless MacOS offers to search the app store (if it does, not sure). So, this suggests to me that either MacOS leaves protocol associations in place after uninstalling an app, and has the machinery to resurrect such an app from the backups, or Zoom leaves around a…

It might be possible that the uninstaller does something strange to "uninstall" the app and leaves macOS confused.

Re: Tell HN: Zoom runs application from Time Machine backup when uninstalled on Mac

#14
post #5

I wasn't aware that any non-OS service even had access to data and applications saved in Time Machine. This might be worthy of a bug bounty report to Apple.

There's at least one app for figuring out why every hourly backup takes half a gigabyte. It might require root privileges, but I doubt that.

Re: Tell HN: Zoom runs application from Time Machine backup when uninstalled on Mac

#15

This sounds like it might be a bug/misconfiguration in Launch Services, which deals things like application registration and URL scheme handling. Since I would expect your browser to do something like call to the system to open the URL (LSOpenURLsWithRole, et al.) I don't think this is a problem with Zoom.

In which case the following may help:

Dump LS database: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -dump > ~/lsdump.txt

Purge LS database: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

Re: Tell HN: Zoom runs application from Time Machine backup when uninstalled on Mac

#17
post #14
post #5

I wasn't aware that any non-OS service even had access to data and applications saved in Time Machine. This might be worthy of a bug bounty report to Apple.

There's at least one app for figuring out why every hourly backup takes half a gigabyte. It might require root privileges, but I doubt that.

Wait, is that not normal?

Re: Tell HN: Zoom runs application from Time Machine backup when uninstalled on Mac

#18

Open a bug with Apple about this. They fixed an issue I reported a few years back about being able to launch applications in the Trash. They will likely want to add the same restriction to Time Machine Backups as well.

What if you need to run an old version of the application?

Re: Tell HN: Zoom runs application from Time Machine backup when uninstalled on Mac

#19
post #18

Open a bug with Apple about this. They fixed an issue I reported a few years back about being able to launch applications in the Trash. They will likely want to add the same restriction to Time Machine Backups as well.

What if you need to run an old version of the application?

Copy it out.
Post reply on HN