GNOME Bugzilla – Bug 146420
Nautilus keeps FAM handle on removable device, preventing unmount (.Trash problem?)
Last modified: 2004-12-22 21:47:04 UTC
Distribution: Debian testing/unstable Package: nautilus Severity: normal Version: GNOME2.6.1 unspecified Gnome-Distributor: Debian Synopsis: Nautilus keeps FAM handle on removable device, preventing unmount (.Trash problem?) Bugzilla-Product: nautilus Bugzilla-Component: File and Folder Operations Bugzilla-Version: unspecified Description: Steps to reproduce: 0) 2 users logged in ("alissandre", "james") and using Gnome, nautilus. Relevant fstab line: /dev/sda1 /media/usbdrive vfat defaults,sync,dirsync,noauto,user,umask=0022 0 0 1) As user "alissandre", mount USB drive by clicking through on "Computer" icon - icon appears on desktop, USB drive folder view opens. 2) Copy a selection of files from USB drive to local hard drive (using copy / paste, although the problem manifests itself also using drag-and-drop). 3) Attempt to unmount USB drive (menu from icon on desktop). Actual Results: - error message: "Unable to unmount selected volume..." "umount: /media/usbdrive: device is busy" Using (as root) #fuser -m /media/usbdrive shows famd to be the culprit Using lsof -p <fam PID> shows that for some reason famd is still holding a reference to the trash on the disk famd 1807 alissandre 39r DIR 8,1 16384 2988 /media/usbdrive/.Trash-james NB that fam has not dropped the reference to another user's Trash directory on the drive. I can't work out why this is the case... Could it be the other user profile starting to monitor its trash folder on the drive? The other user has not actually done anything in the meantime... Does fstab have something to do with it? The other user (james) obviously cannot actually delete anything on the disk in any case because they don't have sufficient access permissions, so I guess (if this is indeed the problem) nautilus shouldn't be monitoring their Trash here. How often does this happen? - Almost every time. Additional Information: Debian unstable / testing Gnome 2.6 Nautilus 2.6.2-1 Fam 2.7.0-5 Linux kernel 2.6.6 ------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-07-09 00:38 ------- Unknown platform unknown. Setting to default platform "Other". Unknown milestone "unknown" in product "nautilus". Setting to default milestone for this product, '---' The original reporter of this bug does not have an account here. Reassigning to the person who moved it here, unknown@bugzilla.gnome.org. Previous reporter was james@alijames.f2s.com. Setting to default status "UNCONFIRMED". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
*** This bug has been marked as a duplicate of 94552 ***