nivekuil / rip

A safe and ergonomic alternative to rm
GNU General Public License v3.0
1.4k stars 54 forks source link

Permissions error #30

Open ghost opened 2 years ago

ghost commented 2 years ago
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.

MartinP7r commented 1 year ago

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.