Error Codes Wiki

Mac Error -8072 — Unexpected Error (Can't Delete File)

Warningfinder

Overview

Mac error -8072 occurs when Finder cannot delete or move files to Trash, typically caused by permission issues, locked files, or files in use by another process.

Key Details

  • Error -8072 is a Finder permission error preventing file deletion or movement
  • Appears as 'The operation can't be completed because an unexpected error occurred (error code -8072)'
  • Very similar to error -8003 but specifically common during delete operations
  • Files on external drives formatted as NTFS are read-only and cannot be deleted
  • Time Machine backup files have special protection that prevents normal deletion

Common Causes

  • File is in use by another process (check Activity Monitor)
  • Insufficient permissions — current user does not own the file
  • File is on a read-only volume (NTFS, read-only share)
  • Time Machine snapshot protecting the file
  • SIP protecting system files

Steps

  1. 1Check if file is in use: lsof | grep filename in Terminal
  2. 2Force delete in Terminal: sudo rm -f /path/to/file
  3. 3For folders: sudo rm -rf /path/to/folder (double-check the path first)
  4. 4Take ownership: sudo chown -R $USER /path/to/folder
  5. 5Restart Mac in Safe Mode (hold Shift during boot) and try deleting

Tags

macerror-8072deletepermissionsfinder

More in Finder

Frequently Asked Questions

If the drive is NTFS format, macOS mounts it read-only. Reformat to exFAT or APFS for full write access.