nautilus does not remove file '_x' from trash

Bug #203195 reported by B. Clausius
34
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
gvfs (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs
Hardy
Fix Released
Low
Ubuntu Desktop Bugs
Intrepid
Fix Released
High
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Steps to reproduce on hardy:
1. Create a file on a partition that is not the home-partition an begins with a '_', e.g. _x or __init__.py
    $ touch /mnt/Daten/barcc/Projekte/_x
2. $ nautilus /mnt/Daten/barcc/Projekte/
    and delete the file (del). Now it is in /mnt/Daten/.Trash-1000/
3. Now open the Trash: $ nautilus Trash:///
  a) Press the 'Empty Deleted Items' button
      -> All files are removed except the file _x
  b) Select the file _x and hit DEL and confirm the are-you-sure-dialog.
      -> Now there is a dialog containing the text:
-------------------------------------------------------------
Fehler beim Löschen.
Es ist ein Fehler beim Einlesen der Informationen über »mnt_Daten_.Trash-1000___x« aufgetreten.

  Weitere Details anzeigen
Fehler beim Untersuchen der Datei /mnt/Daten/.Trash-1000_/files/x mit fstat(): No such file or directory
-------------------------------------------------------------

Obviously, the path in the Dialog is wrong.
The correct path should be: /mnt/Daten/.Trash-1000/files/_x
So the file cannot be removed from trash with nautilus.
To ged rid of the file you have to remove it manually in a terminal.

ProblemType: Bug
Architecture: i386
Date: Mon Mar 17 16:14:37 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: nvidia
Package: nautilus 1:2.22.0-0ubuntu2
PackageArchitecture: i386
ProcEnviron:
 PATH=/home/GECOS/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.24-12-generic i686

Revision history for this message
B. Clausius (barcc) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=523139

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Changed in nautilus:
status: Unknown → New
Changed in nautilus:
status: New → In Progress
Changed in nautilus:
status: In Progress → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in nautilus:
status: Triaged → Fix Committed
Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gvfs:
status: Confirmed → Fix Committed
Revision history for this message
R. C. Pao (rcpao) wrote :

rcpao@bun:~/job/clx$ dpkg-query -s gvfs
Package: gvfs
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 1908
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 0.2.5-0ubuntu1

was able to successfully empty _files from my trash can.

Revision history for this message
Fabus (fabian-gebert-hh) wrote :

yes, after logging out and in again, emptying the trash works.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in gvfs:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Needs to be applied to Intrepid ASAP.

Changed in gvfs:
importance: Low → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

there is a newer version in intrepid

Changed in gvfs:
status: Fix Committed → Fix Released
Changed in nautilus:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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