After upgrading my system to 10.15.5 19F101
(late May update, 2020), I found that there are 2 Safari.app's in the system – one is /Applications/Safari.app
, and the other one is /System/Volumes/Data/Previous System/Applications/Safari.app
.
I want to remove the latter one (sudo rm -rf
won't work) as I don't use it and it also shows up in Alfred search results which is annoying. How do I do that?
Edit: ACL / Permissions for the 2nd Safari.app
/bin/ls -led '/System/Volumes/Data/Previous System/Applications/Safari.app'
drwxr-xr-x@ 3 root wheel 96 May 29 00:42 /System/Volumes/Data/Previous System/Applications/Safari.app
0: group:everyone deny delete
And for it's parent directory:
/bin/ls -led '/System/Volumes/Data/Previous System/Applications'
drwxrwxr-x+ 4 root admin 128 Jun 14 23:46 /System/Volumes/Data/Previous System/Applications
0: group:everyone deny delete
For the parent-parent directory:
/bin/ls -led '/System/Volumes/Data/Previous System/'
drwxr-xr-x 7 root wheel 224 Jun 3 16:12 /System/Volumes/Data/Previous System/
Best Answer
In the Finder, navigate to the Safari you don't want, drag it to the Trash, and empty the Trash. During the process, you'll probably be asked to authenticate yourself as an administrator.