-
Is there a way to ignore remove write-protected prompt when clearing the trash via |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 If there isn't any drawback, it will make the change. EDIT: It should work as expected since the last commit. |
Beta Was this translation helpful? Give feedback.
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.