Secure Empty Trash on OS X Yosemite and Earlier But since El Capitan, Apple has cut the feature because it is can not work on flash storage, such as SSD (which is adopted by Apple to its new Mac/MacBook models.) Therefore, if your Mac/MacBook are running on El Capitan or later, you'll need other ways to empty the Trash securely. The secure empty trash feature used to be available on OS X Yosemite and earlier. That's why you need secure empty trash feature, which make the files unrecoverable by writing a series of meaningless ones and zeroes over deleted files. If someone use a recovery software on your Mac before the files are overwritten, they could scan out the deleted files. When you simply empty the Trash, the files and folders in the Trash are not totally erased but still remain in your Mac until they are overwritten by new data. Securely Empty Trash on OX El Capitan with Terminal.Secure Empty Trash on OS X Yosemite and Earlier.I didn’t mention before that they laptop doesn’t have the original Apple SSD in it…it was replaced long ago by an OWC 1 TB one…although that’s not likely anything to do with the issue. I’m happy to just ignore it since it’s not bothering me any more…but OTOH if I’ve roused anybody’s curiosity enough I’m more than happy to keep trying more suggestions…but initializing the volume and starting over is more work than I’m really interested in since everything appears to be just fine except I can’t delete the file. dmg, the package, or the flag/permission/something else entirely. So…there’s clearly something broke either with the. Tried Commander 1 running as admin user…no luck.Ĭan’t try TDM since I don’t have the right set of cables and adapters to connect TB2 to my iMac. Tried emptying trash with the option key…no luck. Tried those same commands on the SharedSupport directory above InstallESD.dmg…failed since directory not empty so didn’t try the Contents directory above that either. Operation not permitted even though I answered Y to the question override rw-r–r- root/wheel restricted for InstallESD.dmg? Yĭrwxr-xr-x 3 root wheel 96 Install macOS Mojave.appĪs root…followed tjluoma’s suggestions for chgflgs, chmod, and rm…result operation not permitted. dmg file from where it’s buried in the package. Went back to terminal, su to admin, su to root, tried to delete the. dmg file…right clicked and selected Mount and it mounted and opens just fine…so apparently the image itself isn’t damaged. Went to /tmp in Finder and drilled down to the. Yep…tried Disk Utility and fsck from the command line after doing su root…all is fine.ĭisk Utility does not show it as mounted under All Devices. OK…more info on this one…although since it’s now in /tmp/ at this point and no longer visible unless I go looking for it…and it’s not taking up but a few GB of drive space. Boot into single user mode maybe? Who knows. I’m comfortable with slight to minimal user use of terminal but a command line geek I’m not…so I hope somebody smarter than me can point me to the obvious solution. So how do I get rid of this file…my guess is I need to chmod of some sort and/or then use some sort of rm command with the right magical incantation switches afterwards. Tried logging in as admin, launching terminal, and then su to root (I enabled the root user long ago) and then deleting it from terminal…no luck. Tried shift booting so nothing extraneous gets loaded and logging in as admin user…no luck. Moving the package to the trash requires admin credentials…but when I try to empty the trash I get “can’t be completed because the file is in use”. Get Info says system has R/W and wheel and everyone have R Only access…and I’m unable to change the access even when logged in as an admin user. Inside the package there’s a single file at Contents/SharedSupport/InstallESD.dmg. Running Big Sur and in /Users/Shared I’ve got a file named Install macOS Mojave so it’s been around through a couple of OS updates. OK…I’ve got this undeletable file and can’t figure out how to get rid of it…rebooting doesn’t help.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |