![]() The "Macintosh HD" will be available under /Volumes/Macintosh\ HD. Click the Utilities menu and select Terminal.Mount your "Macintosh HD" volume (the main one).Immediately hold down command R to boot into Recovery mode.Should be something like /Users/bob/.Trash/?*. Here are the steps that worked for me on Mac OS 10.15.4:įind out the path to your Trash by running this command in Terminal echo /Users/$(whoami)/.Trash/?* However you must first mount your Macintosh disk (at least on Catalina) to get access to the Trash while in Recovery mode. I also verified that this file is on the read-write Data partition: sh-3.2# ls -l /System/Volumes/Data/Users/elliott/.Trash/Security/usr/Īs mentioned, you can fix this in Recovery mode itself. Write_nocancel(0x2, "Operation not permitted\n\0", 0x18) = 24 0 I have already given Terminal full disk access in System Preferences.Ĭhecking the rm command with dtruss I see it fails here: unlink(".Trash/Security/usr/X11R6\0", 0x0, 0x0) = -1 Err#1 Rm: Security//usr/X11R6: Operation not permittedįifteen.Trash elliott$ ls -l Security/usr/ DS_Storeĭrwxr-xr-x 3 root wheel 96 Nov 11 21:42 Securityįifteen.Trash elliott$ sudo rm -rf Security/ OK let's try in Terminal: fifteen.Trash elliott$ pwd ls -alĭrwx- 4 elliott staff 128 Nov 11 21:44 125 elliott staff 4000 Nov 10 22:23 1 elliott staff 135172 Nov 11 21:44. It's a link to /opt/X11 which is a regular directory. Trying to empty from Finder warns X11R6 can't be modified or deleted because it's required by macOS. I'm having trouble emptying the trash on Catalina.
0 Comments
Leave a Reply. |