Puoi utilizzare un'utilità della riga di comando chiamata fs_usage
per scoprire quale applicazione sta accedendo a un file.
Per tenere d'occhio i file memorizzati per questa voce "jet.com", il seguente comando mostrerà tutte le attività su tutti i file che contengono "https_jet.com" nel nome o nel percorso del file.
sudo fs_usage -f filesystem | grep "https_jet.com"
Consiglio di eseguire questo comando e provare a eliminare di nuovo la voce. Ti verrà richiesta la password a causa del comando sudo
all'inizio, ma è necessario perché fs_usage
richiede autorizzazioni root elevate. Per annullare il comando una volta che pensi di avere abbastanza informazioni tieni premuto CTRL e premi C .
Ad esempio mentre si esegue quel comando e rimuovendo la voce usando il pannello delle preferenze di Safari ottengo le seguenti voci, che mostrano l'attività di Safari, WebKit, dbfseventsd e fseventsd su questi file. Se la rimozione di questi file viene impedita o se qualcosa li sta ricreando, mi aspetto che tu veda qualcosa che potrebbe aiutarti a identificare il colpevole.
00:58:59 unlink /Users/alistair/Library/WebKit/MediaKeys/https_jet.com_0 0.000010 Safari
00:58:59 getattrlist /Users/alistair/Library/WebKit/MediaKeys/https_jet.com_0 0.000003 Safari
00:58:59 rmdir /Users/alistair/Library/WebKit/MediaKeys/https_jet.com_0 0.000002 Safari
00:58:59 unlink /Users/alistair/Library/WebKit/MediaKeys/https_jet.com_0 0.000002 Safari
00:58:59 getattrlist /Users/alistair/Library/WebKit/MediaKeys/https_jet.com_0 0.000002 Safari
00:58:59 rmdir /Users/alistair/Library/WebKit/MediaKeys/https_jet.com_0 0.000002 Safari
00:58:59 open /Users/alistair/Library/Safari/Databases/___IndexedDB/https_jet.com_0 0.000042 com.apple.We
00:58:59 getattrlist /Users/alistair/Library/Safari/Databases/___IndexedDB/https_jet.com_0 0.000003 com.apple.We
00:58:59 rmdir /Users/alistair/Library/Safari/Databases/___IndexedDB/https_jet.com_0 0.000003 com.apple.We
00:58:59 open /Users/alistair/Library/Safari/Databases/___IndexedDB/https_jet.com_0 0.000004 com.apple.We
00:58:59 getattrlist /Users/alistair/Library/Safari/Databases/___IndexedDB/https_jet.com_0 0.000002 com.apple.We
00:58:59 rmdir /Users/alistair/Library/Safari/Databases/___IndexedDB/https_jet.com_0 0.000002 com.apple.We
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000008 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000002 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000013 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-wal 0.000006 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-wal 0.000002 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-shm 0.000002 Safari
00:58:59 stat64 /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000025 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000005 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000003 Safari
00:58:59 unlink /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000194 Safari
00:58:59 unlink /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-wal 0.000271 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-shm 0.000004 Safari
00:58:59 HFS_update /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-shm 0.000003 Safari
00:58:59 unlink /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-shm 0.000070 Safari
00:58:59 stat64 /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000006 Safari
00:58:59 stat64 /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-wal 0.000004 Safari
00:58:59 stat64 /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-shm 0.000003 Safari
00:58:59 access /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-shm 0.000020 dbfseventsd
00:58:59 access /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-wal 0.000004 dbfseventsd
00:58:59 access /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000003 dbfseventsd
00:58:59 lstat64 /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage 0.000019 fseventsd
00:58:59 lstat64 /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-wal 0.000003 fseventsd
00:58:59 lstat64 /Users/alistair/Library/Safari/LocalStorage/https_jet.com_0.localstorage-shm 0.000002 fseventsd