Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions error #30

Open
ghost opened this issue Mar 27, 2022 · 1 comment
Open

Permissions error #30

ghost opened this issue Mar 27, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 27, 2022

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
Copy link

MartinP7r commented Feb 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant