Skip to content

How to force empty trash? #301

Answered by leo-arch
doongjohn asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @doongjohn.

When clifm trashes a file, it moves it to the trash directory without changing any permissions. So, if the file was write-protected before trashing it, it will be write-protected after as well.

However, I guess I can force the remove command to not prompt for confirmation (like rm -f). It makes sense, since a confirmation prompt is displayed immediately before anyway.

If there isn't any drawback, it will make the change.

EDIT: It should work as expected since the last commit.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by doongjohn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
improvement New feature or request done
2 participants