-
Notifications
You must be signed in to change notification settings - Fork 177
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
trash-empty not working for partitions #65
Comments
trash-empty should empty all your trashed files, it means that it will delete trashed files from these directories:
For example if you had uid=1000, in your case it should remove at least all your trashed files from:
For example it does not remove files from other user directories (for example if your uid is 1000 it will not touch any file in It will remove only files that represent 'garbage' it will remove only these files:
Please provide more information about the non deleted contents of your trash directories including full file names, permissions and mount type of your partition if you want reopen this issue. Also check if you have the latest version of |
Current versions:
You might be right, so trash-empty only deletes .Trash-1000, not .Trash in my case. Starting out with nothing:
I create and delete this file and try to empty the trash:
And now trash-empty does not work. I can force it to work with:
Some minimal information about that partition
It seems like, unlike you told, it only deletes $topdir/.Trash-$UID, not $topdir/.Trash/$UID At least in my system. |
So I added some debug output to
Line numbers may differ because of the debug outputs. Trying if setting .Trash to sticky would work:
So yeah, I can't set sticky (or change permissions on that volume in general), because it is a NTFS mounted volume. |
In commit (2a83ed5) I've add a secret For example you may want use like that:
|
Ok, Thank you. |
|
|
@mxmlnkn for me it shows nothing, just tried on an NTFS partition, touched a file and removed. The partition didn't have a |
Ah sry, I might still have my personally touched version of trash-cli and just forgot about it. |
I have several mounted partitions in
/media/
. They each have their own.Trash
folderAs can be seen above
trash-empty
will in any case (couldn't find options and current working dir also didn't seem to matter) only empty~/.local/share/Trash
and not.Trash
on my mounted partitons. I found this very unexpected, I would have thoughttrash-empty
clears all trashs like nemo and Thunar would do.The text was updated successfully, but these errors were encountered: