Bug#609201: gvfs: Gnome automounter error while mounting usb ntfs disks

Josselin Mouette joss at debian.org
Fri Jan 7 10:46:35 UTC 2011


reassign 609201 udisks
tag 609201 unreproducible
thanks

Le vendredi 07 janvier 2011 à 11:26 +0100, Christian Schwamborn a
écrit : 
> when I try to connect a ntfs formated disk, I'm getting this message:
> 
> Error mounting: mount exited with exit code 1: helper failed with:
> Error opening ' /dev/sdb1': Permission denied
> Failed to mount '/dev/sdb1': Permission denied
> Please check '/dev/sdb1' and the ntfs-3g binary permissions,
> and the mounting user ID. More explanation is provided at
> http://ntfs-3g.org/support.html#unprivileged

The mounting itself is done by udisks, which is privileged, not by gvfs.

> mounting other formats (i.e. fat, ext) works just fine

So there is nothing wrong on the permissions side.

> permissions for /dev/sdb1 seems to be correct
> cs at pikass:~$ ls -l /dev/sdb*
> brw-rw---- 1 root floppy 8, 16  7. Jan 11:03 /dev/sdb
> brw-rw---- 1 root floppy 8, 17  7. Jan 11:03 /dev/sdb1

Indeed.

> I even tried to set a uid bit (4755) on ntfs-3g, as suggested by http://ntfs-
> 3g.org/support.html

This is useless for mounting with udisks.

> It seems to apply only for amd64, since I performed two squeeze installations
> in the last weeks.
> The first was around the 16th of december 2010 on an i386er machine as a test
> and two days ago another one as amd64. Automounting ntfs drives in Gnome on the
> i386 installation works just fine but not on the amd64 machine.

This is certainly unrelated to the architecture, but might be caused by
either a local misconfiguration or a missing package. I can definitely
not reproduce this on my amd64 machines.

Cheers,
-- 
 .''`.
: :' :     “You would need to ask a lawyer if you don't know
`. `'       that a handshake of course makes a valid contract.”
  `-        --  J???rg Schilling







More information about the pkg-gnome-maintainers mailing list