Ubuntu :: Cannot Delete Or Empty .Trash-1000 Folder?
May 5, 2010
Straight to the problem on my [Ubuntu 9.10].I cannot delete or empty my .Trash-1000 folder on my flash drive. I tried changing permission with chmod but no way, I cannot empty the folder via the Ubuntu main trash option 'Empty Trash'. I read a bunch of threads but no way.Do you know a solution that works to this problem?Even further. Do you know a way to tell nautilus to avoid using that folder in my USB devices and use instead the normal trash folder on my system?
I formatted an old pen drive and noticed that when I deleted files, the free space was not going down. Then I hit Ctrl+h and saw a folder named .Trash-1000. Is this only needed if someone if using Windows or can it be safely deleted?
Apologies if this has been asked before, which I'm sure it has from what I see googling around, but I cant understand this fully.
I have a piles of files in the .Trash-1000 folder on my flash drive that I want to delete. I can see them if I go in as root using the command line and entering "gksu nautilus" but it still wont allow me to delete them.
I'm a beginner at backing up my Ubuntu system, but I've set Simple Backup to do a backup once a week. I deleted the oldest of these files, but now it's sitting in my Trash and I can't empty it. I get a permission denied error for the folders within the backup folder in the trash, yet I can't restore the folder either - Ubuntu says it 'failed to determine the original path' for the folder. I've just discovered this in Xubuntu Jaunty, but I'm confident the same will happen in any other WM I choose (I have several installed - I like variety ).
It's not a huge file, but it's hanging out there and I'd like to get it either deleted or restored. Possibly I oughtn't to have deleted it in the first place (it usually lives in /var/backup, which I can't access except as root). The files, which I probably deleted /as/ root, show up in my user trash rather than root's trash. I found the trash in ~/.local/share/Trash/files, but I'm not sure if just deleting them as root would be a good.
I'm using rmdir(), and everything goes ok if the directory is empty, ?how can I remove the entire tree when i have other files or directories in the folder that I want to delete?I've read about using "system(rm....)" but i REALLY want to do this without it, is it possible?
When I move something to Trash it doesn't show the option of "Empty Trash". I can use "move to Trash" and it just moving there like some ordinary folder, but shift+del give me an option for deleting the files. Using OpenSUSE 11.3 32bit.
Yesterday I have saved an important folder in the ".-Trash-1000" --a folder in my mobile hard disk drive.I then encrypt the important folder in windows xp(click the left button of the mouse , choose " attribute" ,then "Advanced",then "Encrypting File") .When I open the ".Trash-1000"the next day in ubuntu,it is empty.I am douptful of it so I open the winxp system, the ".Trash-1000" folder is also empty.I have two operating systems--win XP and Ubuntu.Is the ".Trash-1000" emptyed everyday?Or is it because of the encryption ?Then how can I get my documents back?
I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.
Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
Look at the screenshot, I have only one file in trash but AWN and Docky counts 47+1 items. When it's empty it counts 47, and there's no way to really empty. But files are really gone. It doesn't happens with Cairo Dock (I don't know why).
I'm running Ubuntu 10.04 and I'm having trouble emptying my trash bin. I've tried emptying the trash bin graphically but the items are still in there. I've also tried using nautilus to empty the trash but it didn't work either. I really need to free up some space because I'm down to 1.6 GBs of free space
Is there a way to securely empty the trash bin without the need to type some shred command into consoles. My intentions is to be able to securely delete files when the 'Empty Trash' is used so to save the trouble of going to a console and doing some commands using shred.
Evolution 2.28.3 on Ubuntu 10.04 won't empty trash on exit even though this is specified in preferences. Neither will it expunge with right click on trash -> empty trash..e.Close Evolution and open your file browser. Go to /home/put-your-ubuntu-login-name-here/.evolution/mail/localThere are 2 files (Junk.cmeta and Trash.cmeta). I deleted the Trash.cmeta file and opened Evolution again.When you reopen Evolution, it creates a new Trash.cmeta file.
Whenever i try to empty the Trash (As Root) it does so then gives me an error message saying that it can't delete a specific file. It's always the same file and it says:"The file or folder /home/.Trash-0/files/yesterday once more.mp3 does not exist."Having looked in this location logged in as root using both Dolphin and at the command line, this file doesn't exist.
I have some files in my user trash bin which don't get emptied. Can you please tell me where I can find my trash bin using Superuser Dolphin? Or how can I force empty it? I tried /home/.Trash-0/files but it's all empty.
Well I'll start off with the recent changes I've made. I have three hard drives in my PC, two of which are formated NTFS. I recently installed Storage Device Manager and changed a few options around so they auto-mount of start up. Well when I did this, and wanted to delete files off those drives, I suddenly was being promoted that I must delete them permanently or not all at (wouldn't go into the trash)
I added the lines to FSTAB: uid=1000,gid=1000 0 1
So for example my secondary drive is:
And also added .Trash-1000 folders in each of the two NTFS drives.
When I delete items off one of the two NTFS disks they go to the trash... I don't get the "delete forever" prompt and I can actually see them in the trash bin.
But when I empty the trash the icon remains that of the "full" trash, despite when I open it there being no trash in it.
I don't know whether this is a bug or feature. But I find the fact that the Trash in Gnome doesn't delete trashinfo files a security liability.
I found in ./local/share/Trash/info thousands of .trashinfo files named exactly like the files deleted and each one contains the date of deletion.
I thought when I empty the trash bin every record of the files were removed. I understand that there are forensic ways to recover data and rm isn't very secure with journaled file systems, but forensic recovery isn't 100% and if the disk is written over several times the data is gone.
Here you have a permanent list of all the files you've deleted, without you knowing and the dates of deletion. IMO that's too much information.
Update: Weird after removing the files manually and then trying to delete files again using the trash I found no .trashinfo files, this time. So they were probably leftover files, but they didn't have a different owner/permission. Could this have been an issue and now fixed? (running Lucid)
I mount /home on a logical partition. Files and directories that I trash from here go nicely into the recycle bin, and I can right click on it and choose "Empty Trash" with no problem. Files off of the root directory in directories that I "own" (i.e. /mydir/*) do not play as nicely. I went ahead and followed instructions from another post, namely:
Code: sudo mkdir /.Trash sudo chmod 1777 /.Trash
And after trashing some files from /mydir, there is indeed a subdirectory with my uid (1000) and files that I trash from /mydir are going in there. However, the recycle bin on my desktop remains empty, and the only method I have for deleting said files is by deleting them from the /.Trash/1000 folders through the command line. So my question is: Is there anyway that I can trash files from /mydir, see them appear on the desktop recycle bin, and empty the trash without the need to rm them directly through the command line? Not sure if it will help, but here is my fstab:
Code: # / was on /dev/sda1 during installation UUID=4129f389-92be-459e-8bbc-928c1440f718 / ext4 errors=remount-ro 0 1 # /home was on /dev/sda6 during installation UUID=6a30914d-04a3-4b03-85bd-2bf16a68a41a /home ext4 defaults 0 2 # swap was on /dev/sda5 during installation UUID=f388cf04-bbd6-4bf9-9d69-0778b0f158fd none swap sw 0 0
I've been getting this error message:"The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator."a few times, and it turns out to be because of low disk space. No worry, I empty the trash uninstall unneeded programs and clean out the downloads folder that filled up my disk. And all is ok. But not this time.Since I can't use X, I delete stuff from the terminal, and also make sure to clean out the .Trash in both /home and /root. But still the disk is full. I delete more stuff, but it doesn't even seem to go to .Trash. It disappears, but no more disk space.
I have opensuse 11.2 with KDE installed and I changed the default File Manager to Konqueror. I cannot empty the Trash when right clicking on Icon in KDE4. If I try, then I get Icon Settings. Howto switch off these Icon Settings generally?
CentOS amd64 fresh installed two weeks ago. Turned off nightly per company policy. Turned on this morning, logged in, started firefox, surfed a bit, minimized, and then noticed that the bottom toolbar is empty except for the trashcan in the far right end. No alternate desktops, no minimized firefox screens, nothing.
I recently installed Ubuntu 10.04 alongside OSX on my unibody aluminum macbook. I've been setting it up, but I was wondering if there were any applets that could display things like CPU temps (maybe even RAM usage? I'm thinking along the lines of the iStat menubar app, but of course I'm willing to try out anything). I tried searching the Software Center, but couldn't quite find what I was looking for. I was exploring the keyboard shortcuts, and I was wondering if there was a way to set a shortcut to empty the trash? Like in OSX they have shift+apple+delete.
I have this nasty habit of refreshing desktop in a quick succession by right-clicking and selecting 'Refresh',on my XP system at office.(And,iam sure most of us do the same).With Ubuntu,if a right-click on desktop slowly and select 'align by...',it simulates the XP refresh action as explained above.But,if i perform the same action rapidly,it takes this first option from right-click context menu,which is 'Create Folder',and results in an empty folder being created on desktop.I tried double right-clicking and again it created an empty folder.Is there any workaround to handle this.I mean:Can the right-click context menu items be shuffled so that the 'Create Folder' option is moved from 1st place
Using Fedora 14 with Gnome 2.3 Desktop utilizing Compiz and Emerald theme manager. When I empty the trash, the icon is still the FULL Trash icon. I tried using different Emerald Themes, and different Icon sets, but still the Trash Icon stays full. I checked the trash folder in $HOME/.local/share/trash and found nothing, no hidden files.