Bug 126357 - trash is empty but there are files in ~/.local/trash
Summary: trash is empty but there are files in ~/.local/trash
Status: RESOLVED DUPLICATE of bug 116371
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: trash (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 16:41 UTC by Michael Stather
Modified: 2006-09-13 17:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stather 2006-04-27 16:41:58 UTC
Version:           Unbekannt (using KDE 3.5.0 Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15.8-default

The trash on my system is shown as empty, but there are more than 50 MB of files in ~/.local/trash (I don´t know how they got there).
Comment 1 noskule 2006-04-30 19:49:17 UTC
yep, my problem to!

If I open trash:/ in konqueror I see previous 
deleted files. If I delete them there they are gone.
But: If I do right mousebutton on the trashicon in the "kontrollleiste" 
and say "Mülleimer lehren" (empty trash) so the files disapear in the 
trashview in konqueror put dont ! get deletetd. So it seams to me that 
dis is not the way it sould be. Is it like this? If yes, could this be 
changed that its realy deletes the files like it suggests?
Comment 2 noskule 2006-04-30 19:51:13 UTC
the location of the hidden files is ~/.local/share/Trash/files
Comment 3 David Faure 2006-05-01 01:34:59 UTC
> If yes, could this be changed that its realy deletes the files like it suggests?

For most people it does delete the files like it suggests.
This is a bug, but I need debug output - preferrably from kdebase/kioslave/trash built from
sources - to find out what's happening.
Comment 4 Santiago Garcia Guillen 2006-09-03 10:51:14 UTC
Hi!

I've got the same problem, and as I have found, it's because a file owned by root but in a directory owned by user was sent to the trash (the directory is sent to the trash). From that moment, nothing is removed from ~/.local/share/Trash/files. 

In contrast, info files in ~/.local/share/Trash/info are removed when emptying the trash. It does not alert that there's a file owned by root.
Comment 5 Rudolf Kollien 2006-09-08 14:35:26 UTC
SuSE 9.3 KDE 3.5.2 "a"
SuSE 9.3 KDE 3.5.4 "a"
SuSE 10.1 KDE 3.5.4 "a"

I can confirm, that the "metafiles" from the info dir are all removed (and so the trash icon shows "empty"), but the files inside the files dir are still exist. Unfortunately i can NOT confirm, that there is a file, for which the owner has no access rights (like root owner, only "r" etc.). The files in the file dir can be deleted by "rm -r *" without any additional confirmation. We today encountered the problem, as a user came in and complained about no more space left on his hard disk. After a little examination with the du command, i found ~/.local/share/Trash with more than 60GB(!!!!!!) of data. Some of them only one day old, many older. Partial back to the day, the system was installed (primary installation was KDE 3.5.1). Looking at our other machines, on some (not all) i found orphaned files. All "Trash" desktop icons showed "Empty trash" and the info dir was empty. But i couldn't find any rules about why this files didn't got deleted.
Comment 6 David Faure 2006-09-13 17:27:08 UTC

*** This bug has been marked as a duplicate of 116371 ***