Closed kevva closed 8 years ago
And it's not? :p If you sudo you're temporarily the root users, which means it goes to the root users trash.
Though I do agree it's not optimal. I'm honestly not sure how we would fix this as I'm just calling the native trash method.
Suggestions?
Yeah, I haven't been able to test it as sudo
but it sounds like the expected behavior for me too.
It's the expected behavior, but not the wanted.
https://github.com/sindresorhus/trash/issues/21