Comment 6 for bug 417743

Revision history for this message
Balau (balau82) wrote : Re: [Bug 417743] Re: nautilus cannot unmount encfs and sshfs disks

udisks is only available on Lucid, so I installed Lucid RC in QEMU.
I tried the following:

for encfs:
$ mkdir /home/francesco/d_enc
$ mkdir /home/francesco/d
$ encfs /home/francesco/d_enc /home/francesco/d # a new disk icon
called "d" appears on the desktop
$ udisks --unmount /home/francesco/d
Device file /home/francesco/d is not a block device: resource
temporarily unavailable
$ udisks --unmount /home/francesco/d_enc
Device file /home/francesco/d is not a block device: resource
temporarily unavailable
$ sudo udisks --unmount /home/francesco/d
Cannot stat device file /home/francesco/d: Permission denied

for sshfs
$ mkdir /home/francesco/s
$ sshfs user@host:/path /home/francesco/s # a new disk icon called "s"
appears on the desktop
$ udisks --unmount /home/francesco/s
Device file /home/francesco/s is not a block device: resource
temporarily unavailable
$ sudo udisks --unmount /home/francesco/d
Cannot stat device file /home/francesco/s: Permission denied

On Thu, Apr 22, 2010 at 10:31 AM, Sebastien Bacher <email address hidden> wrote:
> does using "udisks --unmount <device>" on the device works?
>
> --
> nautilus cannot unmount encfs and sshfs disks
> https://bugs.launchpad.net/bugs/417743
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “nautilus” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: nautilus
>
> Appears on Ubuntu 9.04 Desktop x86.
> nautilus 1:2.26.2-0ubuntu2
>
> To reproduce the problem:
>
> - Run the commands:
> $ sudo apt-get install encfs
> $ mkdir ~/d_enc
> $ mkdir ~/d
> $ encfs ~/d_enc ~/d
> The last command creates the encfs disk in d_enc and mounts d.
>
> - A disk called "d" appears on the desktop.
> - Right-click on the disk "d" and select "Unmount Volume"
> - A message window opens with title "Unable to unmount d" and text "umount: /home/username/d is not in the fstab (and you are not root)" and presents an OK button.
>
> The same happens on disks mounted through sshfs.
>
> Nautilus should understand that the disks can be unmounted with "fusermount -u $dir", or it should not display "Unmount Volume" or even show the disks on the desktop at all.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/417743/+subscribe
>