trash cannot empty _copy_2.nzb

Bug #237669 reported by R. C. Pao
2
Affects Status Importance Assigned to Milestone
gnome-applets (Ubuntu)
Incomplete
Low
Ubuntu Desktop Bugs

Bug Description

Pan newsreader saves _copy_2.nzb to my directory. I use Nautilus to delete it. The file is visible in my trash can; however, I cannot empty it. I can empty everything else except that file from the trash can using the applet. I can manually delete it from bash.

rcpao@bun:/.Trash-1000$ rm files/_copy_2.nzb info/_copy_2.nzb.trashinfo

Description: Ubuntu 8.04
Release: 8.04

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, why can't you empty it? what error do you get if you try?

Changed in gnome-applets:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
R. C. Pao (rcpao) wrote :

I have no idea why they do not get deleted while everything else around it gets deleted. There is no error message displayed (no pop ups anyway). A user applet should not be able to syslog, so I didn't check /var/log for anything. Since I can delete them from the terminal from my user account (no need to sudo), it's not a permission problem.

It may be due to the fact that I use /.Trash-1000/ for my trash directory. I have a couple of different partitions I use, and I believe I needed to do this to be able to have the trash can work for non-home partitions.

So for a test, I created _underline_file_from_Desktop.txt on my Desktop (home partition), _underline_file.txt and deleteme.txt in a non-home partition. Deleting them all in Nautilus will display all three in Trash. Clicking Empty Trash button, two files are erased; however, _underline_file.txt remains in the Trash. No errors occur.

I suspect it has something to do with the leading "_" in the file name to be emptied.

rcpao@bun:/.Trash-1000$ ls -R
.:
files/ info/

./files:
deleteme.txt _underline_file.txt

./info:
deleteme.txt.trashinfo _underline_file.txt.trashinfo

[You will note that _underline_file_from_Desktop.txt is not here, I believe it is in ~/.local/share/Trash, but I did not specifically check since it is working.
[Empty Trash] button is clicked at this point.

rcpao@bun:/.Trash-1000$ ls -R
.:
files/ info/

./files:
_underline_file.txt

./info:
_underline_file.txt.trashinfo
rcpao@bun:/.Trash-1000$

Revision history for this message
Sebastien Bacher (seb128) wrote :

right, that's similar to bug #203195

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.