nivekuil/rip

Permissions error

Opened this issue · 1 comments

error: Failed to write record at /Users/leontepe/.Trash/.record
caused by: Operation not permitted (os error 1)

System: macOS
$GRAVEYARD: ~/.Trash

It still deletes the file though—as in it's not present in the original location anymore after running the command.

Just to add context about the error above (reported by a deleted user).

On macOS the trash folder location is somehow protected. In shell env you can't even see it's contents via ls

❯ ls ~/.Trash/
ls: /Users/USERNAME/.Trash/: Operation not permitted

Adding full disk control in Security&Privacy only partly solves the problem.