Comment 6 for bug 422012

Revision history for this message
Jimmy Xu (jimmyxu) wrote : Re: Protected files hidden by Trash

How to reproduce:

jimmy@jimmy:~/tmp$ mkdir test
jimmy@jimmy:~/tmp$ mkdir test/root
jimmy@jimmy:~/tmp$ touch test/root/file
jimmy@jimmy:~/tmp$ sudo chown root:root test/root/ test/root/file

Then delete ~/tmp/test in nautilus and empty the Trash. Now the Trash can seems to be empty, but the folder has been silently moved to:

jimmy@jimmy:~/.local/share/Trash/expunged$ ls
3010044318
jimmy@jimmy:~/.local/share/Trash/expunged$ ls -al 3010044318/root/
total 8
drwxr-xr-x 2 root root 4096 2010-05-20 21:42 .
drwx------ 3 jimmy jimmy 4096 2010-05-20 21:42 ..
-rw-r--r-- 1 root root 0 2010-05-20 21:42 file

It's all here.