After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 146420 - Nautilus keeps FAM handle on removable device, preventing unmount (.Trash problem?)
Nautilus keeps FAM handle on removable device, preventing unmount (.Trash pro...
Status: RESOLVED DUPLICATE of bug 94552
Product: nautilus
Classification: Core
Component: File and Folder Operations
unspecified
Other other
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-07 20:24 UTC by james
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description james 2004-07-09 04:38:41 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.

Comment 1 Vincent Noel 2004-07-22 21:59:52 UTC

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