Empty and recreate an account's Trash
The following procedure will "kill two birds with one stone." It will both:
- Empty the Trash of an affected account.
- Create a new ~/.Trash directory, with correct ownership and permissions, for that account.
Perform the following steps in the order specified:
1.
If the affected account is protected by FileVault, log in to the affected account, then switch to and log in to your Admin account via Fast User Switching. Otherwise, log in to your Admin account.
2.
Open Terminal, located in the Macintosh HD > Applications > Utilities folder.
3.
At the Terminal prompt, type one of the following commands:
If the affected account is:
Then type the Terminal command:
Your Admin account:
sudo rm -ri ~/.Trash
Another user account:
sudo rm -ri /Users/user_name/.Trash
where user_name is the short name of the affected account.
Note that:
- There is a single space after each of the terms sudo, rm, and -ri in the command.
- Assure you have typed the command exactly as specified before proceeding: typographical errors in this command can have dire consequences, including erasing your hard drive!
4.
Press Return.
5.
Type your Admin password when prompted, then press Return.
6.
Type y for yes in response to the subsequent prompts to delete each file in the trash and finally the affected .Trash folder itself. The prompts are finished when the Terminal prompt returns.
7.
If the affected account is your Admin account, log out. If the affected account was another user account that is logged in via Fast User Switching, log out of that account.
8.
Log in to the affected account. It will now have a new, working, and empty Trash.
Steps 1-6 remove all files in the affected account's Trash as well as deleting the hidden and invisible ~/.Trash directory for that account. The remaining steps result in recreating the affected account's Trash, with proper ownership and permissions.