What is the ".Trash-1000" folder and how to delete it?
70,874
Solution 1
This is the folder of you paperbin.
If you delete something it will not be deleted from disk. It will be moved to this folder instead.
Try to empty the paperbin or delete the folder with the terminal-command as root:
sudo rm -rf /path/to/folder/.Trash-1000
Solution 2
GNOMEish file managers need a place to put the trashed files.
- Deleted files on your "home" partition go to:
/home/username/.local/share/Trash
- Deleted files on other partitions can't be copied there for performance and space reasons.
So it tries to put them in the /.Trash-$UID
folder. Without rw access to that folder, no trash.
Run this bash in the partition root as the user who needs a trash.
sudo mkdir .Trash-$UID && sudo chown $USER:$USER .Trash-$UID
You can delete this folder and secure the partition / to disable that feature.
sudo rm -rf .Trash-xxxx
sodo chown root:root /thepartition
Related videos on Youtube
Author by
zippy
Updated on September 18, 2022Comments
-
zippy over 1 year
Can someone tell me what the
.Trash-1000
folder is and how can I remove/delete it?It taking up 275 gigs of disk space.
-
koni_raid about 11 yearsCan you post the output of this command: ls -ld ~/.Trash-1000
-
-
Samir over 8 yearsThis folder contains subfolders "expunged", "files" and "info". What are those used for?
-
ManuelSchneid3r about 6 yearsThis may break the "move to trash" function of file browsers if /path/to/folder/ is not writable for UID 1000. Better remove its contents
-
eduncan911 over 3 yearsYes, but it comes back on the next delete.
-
Jeff Wurz almost 3 yearsAfter you successfully deleted it, you can then create a file ( not a directory! ) called .Trash-1000 That will prevent the directory with the same name from being recreated. The empty file will always have size 0