You are not logged in.
Hello,
I when i plug an USB storage device, it isn't mounted automatically. Instead, i have an error message:
Error mounting: mount exited with exit code 1: helper failed with:
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://ntfs-3g.org/support.html#unprivileged
The thing is, the error occur even when the device has no NTFS partition...
$ udisks --show-info /dev/sdb1
Showing information for /org/freedesktop/UDisks/devices/sdb1
native-path: /sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7:1.0/host9/target9:0:0/9:0:0:0/block/sdb/sdb1
device: 8:17
device-file: /dev/sdb1
presentation: /dev/sdb1
by-id: /dev/disk/by-id/usb-Kingston_DataTraveler_G2_00137298C955F9A1E67F1047-0:0-part1
by-id: /dev/disk/by-uuid/e731f7fa-33de-499a-89ac-910473b920f4
by-path: /dev/disk/by-path/pci-0000:00:02.1-usb-0:7:1.0-scsi-0:0:0:0-part1
detected at: dim. 18 avril 2010 18:18:13 CEST
system internal: 0
removable: 0
has media: 1 (detected at dim. 18 avril 2010 18:18:13 CEST)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 4006937088
block size: 512
job underway: no
usage: filesystem
type: ext4
version: 1.0
uuid: e731f7fa-33de-499a-89ac-910473b920f4
label:
partition:
part of: /org/freedesktop/UDisks/devices/sdb
scheme: mbr
number: 1
type: 0x83
flags: boot
offset: 32256
alignment offset: 0
size: 4006937088
label:
uuid:
$ udisks --mount /dev/sdb1
Mount failed: Error mounting: mount exited with exit code 1: helper failed with:
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://ntfs-3g.org/support.html#unprivileged
Has anyone had similar issues ?
aze489.
Offline
Did you check Hal Troubleshooting already?
Last edited by hokasch (2010-04-18 16:31:58)
Offline
I thought devicekit-disk/udisks and HAL were two differents things ?
Offline
bump
Last edited by aze489 (2010-04-19 22:19:31)
Offline
I think you have an issue with privileges, have you tried editing the permissions with chmod?
Last edited by abraham10 (2010-04-20 13:47:40)
Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.
Offline
Please post the output of 'fdisk -l <device>'.
Offline
# fdisk -l /dev/sdb
Disk /dev/sdb: 4007 MB, 4007624704 bytes
32 heads, 63 sectors/track, 3882 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4c290fee
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3882 3913024+ 83 Linux
Offline
I fixed the problem with 'ntfsfix /dev/<ntfs-partition>'. I've also updated the NTFS-3g wiki page.
Offline
Thanks, but i have no NTFS partitions on my devices. And this is why this error message is so weird...
Last edited by aze489 (2010-04-21 04:13:13)
Offline
Probably not the solution you want, but you can automount with udev instead of udisks - details in the wiki.
Offline
I recompiled udisks with debug flags and debugged it using GDB, and i found the cause of my problem...
I already had an entry for /dev/sdb1 in my /etc/fstab specifying it as a ntfs partiton. I did that a long time ago, for another device, and forgot about it.
I think i need to read http://wiki.archlinux.org/index.php/Per … ice_naming
Offline