Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can someone tell me what these folders (.Trash and .Trash-1000) mean? They just appeared in my mountpoint and I'm wondering how?

share|improve this question

migrated from stackoverflow.com Jul 30 '10 at 18:11

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 5 down vote accepted

Have a look at How to prevent Ubuntu from creating a .Trash-1000 folder when deleting files from a USB flashdrive?.

According to the article, Ubuntu will create such folders when a file is deleted from a USB drive. Presumably this would allow a file to be restored if you accidentally deleted it.

In any case, the article offers the following recommendations to prevent a Trash folder from being created:

Don't use the delete button only (Otherwise the .Trash-1000 folder will be created)

Press the key combination shift+delete together to delete then Ubuntu won't create a .Trash-1000 folder. (Note: If you delete files and folders this way they are gone forever!)

share|improve this answer
    
Hi, Sorry I didnt explain the question briefly. I am using fuse mountpoint and not mounting a pendrive. Sorry, it was my mistake. I am reading the link you gave me. I hope it helps solve my issue. Thanks ! –  sethu Jul 30 '10 at 18:01

For every mountpoint, Ubuntu creates a "Trashbin" as soon as you delete a file - so the file later can be undeleted.

The 1000 is the UID of the user that created the bin, so every user can have its own.

share|improve this answer
    
hmmm....Interesting ! Let me see if i understood right. When I delete a file in the mountpoint, It will be inside the same mountpoint and not to the general trashbin. And these are created only when I delete a file. Not by default when the mount point was created? Thanks for the answer. –  sethu Jul 30 '10 at 18:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.