Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Emptying trash, Cannot delete trash “VoiceTrigger” is in use.

i have some files in my trash that I cannot remove, or move. These were previously contained in a test user account. When trying to empty the trash I get


“VoiceTrigger” is in use.


sudo rm -rf /Users/myuser/.Trash/test/Library/VoiceTrigger


within VoiceTrigger is a file or folder called SAT


I have tried sudo rm -rf /Users/myuser/.Trash/test/Library/VoiceTrigger

Password:

rm: /Users/myuser/.Trash/test/Library/VoiceTrigger/SAT: Operation not permitted

rm: /Users/myuser/.Trash/test/Library/VoiceTrigger: Permission denied


When in voicetrigger I get


$ ls -al

ls: SAT: Operation not permitted

total 0

drwxrwxr-x@ 3 503 staff 96 27 Apr 2019 .

d---------@ 3 503 staff 96 1 Apr 13:06 ..

ls: fts_read: Operation not permitted


I cannot remove the folder from the trash now either?


I have tried restarting, sudo rm -rf, disk recovery mode, but nothing is working for me?


When looking at the SAT permissions which I can see from the ui it says that I have 'unknown access'


Please help. How can I empty my trash?


2 replies

Thank you


I just had to:


  1. reboot into recovery mode using 'command R' before the apple chime
  2. load Terminal app from menu
  3. enter 'csrutil disable',
  4. restart, and then empty the trash,
  5. restart in recovery mode, and load temrinal again.
  6. enter 'csrutil enable' and then finally reboot once more.


Thanks again.



2dareis2do wrote:

i have some files in my trash that I cannot remove, or move. These were previously contained in a test user account. When trying to empty the trash I get

“VoiceTrigger” is in use.

sudo rm -rf /Users/myuser/.Trash/test/Library/VoiceTrigger

within VoiceTrigger is a file or folder called SAT

I have tried sudo rm -rf /Users/myuser/.Trash/test/Library/VoiceTrigger
Password:
rm: /Users/myuser/.Trash/test/Library/VoiceTrigger/SAT: Operation not permitted
rm: /Users/myuser/.Trash/test/Library/VoiceTrigger: Permission denied

When in voicetrigger I get

$ ls -al
ls: SAT: Operation not permitted
total 0
drwxrwxr-x@ 3 503 staff 96 27 Apr 2019 .
d---------@ 3 503 staff 96 1 Apr 13:06 ..
ls: fts_read: Operation not permitted

I cannot remove the folder from the trash now either?

I have tried restarting, sudo rm -rf, disk recovery mode, but nothing is working for me?

When looking at the SAT permissions which I can see from the ui it says that I have 'unknown access'

Please help. How can I empty my trash?



Issues like these seemed to be resolved by disabling SIP; deleting the problem; re-enabling SIP.


The link tends to get removed...

Disabling and Enabling System Integrity Protection