You are not logged in.

#1 2007-11-15 23:36:58

haukew
Member
From: Hamburg, Germany
Registered: 2007-10-25
Posts: 96
Website

Mounting USB-Devices only works as root

Hi!
I am having a problem with USB-Devices on my ARCH using KDE.
I can only mount them
- as root
and only manually (not using HAL) with "mount /dev/sdc1 -t vfat /mnt/disk" in a terminal.

The presented error (as user) is this:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

When i try to open the (not mounted) device in Konqueror as root it simply says "authorisation not granted"

After mounting the device, i can edit/delete files as root but not as standard user.

Unmounting only works manually, too, the error when i try to unmount the device in konqueror is

Device to unmount is not in /media/.hal-mtab so it is not mounted by HAL

(Which sounds reasonable)

What can be the reason for this?

Thanks in advance, Hauke

Last edited by haukew (2007-11-15 23:37:32)

Offline

#2 2007-11-15 23:48:15

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

Re: Mounting USB-Devices only works as root

are you a member of the storage group?

gpasswd -a user storage
you may want to add yourself to optical as well, if you need to use cd/dvd drives.

Offline

#3 2007-11-17 00:26:40

eldarion
Member
From: Santarém - Portugal
Registered: 2006-08-01
Posts: 71

Re: Mounting USB-Devices only works as root

I have the same problem on KDE. The user is in the storage and optical groups.

Offline

#4 2007-11-17 00:49:58

eldarion
Member
From: Santarém - Portugal
Registered: 2006-08-01
Posts: 71

Re: Mounting USB-Devices only works as root

LOL

It's fixed now. I forgot to restart hal after adding the user to those groups smile

Offline

#5 2007-11-18 00:11:02

haukew
Member
From: Hamburg, Germany
Registered: 2007-10-25
Posts: 96
Website

Re: Mounting USB-Devices only works as root

Yeah, worked for me, too - never heard of the "storage" group though ;-)
I already had thought of "hal" "dbus" but "storage" ;-)

Thanks a lot

Offline

#6 2007-11-18 21:24:20

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: Mounting USB-Devices only works as root

I'm experiencing somewhat similar problems. The problem is that everything seems to be configured correctly:

- I'm in the hal,dbus and storage and logged out and in several times

[luk@travelmate ~]$ groups
wheel games dbus hal video audio optical storage scanner camera

- Mounting with mount works (as root, of course), so my HDD isn't failing.

- Hal detects my external HardDisk and KDE's media:/ recognises my internal HDD and my CD, so hal isn't failing either

[luk@travelmate ~]$ lshal -m

Start monitoring devicelist:
-------------------------------------------------
22:17:28.235: usb_device_1058_901_57442D574D414E4B35373235313039_2_if0_scsi_host_scsi_device_lun0 removed
22:17:28.236: usb_device_1058_901_57442D574D414E4B35373235313039_2_if0_scsi_host removed
22:17:28.236: usb_device_1058_901_57442D574D414E4B35373235313039_2_usbraw removed
22:17:28.236: volume_uuid_a1a7f2b6_0f20_4fee_94cc_82063f2013b0 removed
22:17:28.236: usb_device_1058_901_57442D574D414E4B35373235313039_2_if0 removed
22:17:28.236: usb_device_1058_901_57442D574D414E4B35373235313039_2_if0_scsi_host_scsi_device_lun0_scsi_generic removed
22:17:28.236: storage_serial_WD_2500JB_External_57442D574D414E4B35373235313039_0_0 removed

22:17:43.262: usb_device_1058_901_57442D574D414E4B35373235313039_3 added
22:17:43.287: usb_device_1058_901_57442D574D414E4B35373235313039_3_if0 added
22:17:43.350: usb_device_1058_901_57442D574D414E4B35373235313039_3_usbraw added
22:17:48.316: usb_device_1058_901_57442D574D414E4B35373235313039_3_if0_scsi_host added
22:17:48.318: usb_device_1058_901_57442D574D414E4B35373235313039_3_if0_scsi_host_scsi_device_lun0 added
22:17:48.508: usb_device_1058_901_57442D574D414E4B35373235313039_3_if0_scsi_host_scsi_device_lun0_scsi_generic added
22:17:48.600: storage_serial_WD_2500JB_External_57442D574D414E4B35373235313039_0_0 added
22:17:48.664: volume_uuid_a1a7f2b6_0f20_4fee_94cc_82063f2013b0 added

Just for the sake of completeness, te last part of my pacman.log. I reinstalled kdelibs, kdebase, dbus and hal to make sure there wouldn't be any coruppted files.

[2007-11-16 11:16] synchronizing package lists
[2007-11-16 11:16] starting full system upgrade
[2007-11-18 19:52] synchronizing package lists
[2007-11-18 19:53] starting full system upgrade
[2007-11-18 19:54] upgraded libcompizconfig (0.6.0-2 -> 0.6.0-3)
[2007-11-18 19:54] upgraded smbclient (3.0.26a-2 -> 3.0.27A-1)
[2007-11-18 19:55] upgraded wine (0.9.48-1 -> 0.9.49-1)
[2007-11-18 20:42] installed libao (0.8.8-1)
[2007-11-18 20:42] installed cdrdao (1.2.2-2)
[2007-11-18 20:42] installed cdrkit (1.1.6-1)
[2007-11-18 20:42] installed normalize (0.7.7-1)
[2007-11-18 20:42] installed sox (13.0.0-2)
[2007-11-18 20:42] k3b: If you have a DVD-Burner, you should install 'dvd+rw-tools'
[2007-11-18 20:42] installed k3b (1.0.4-1)
[2007-11-18 21:23] synchronizing package lists
[2007-11-18 21:23] starting full system upgrade
[2007-11-18 21:48] ==> ivman: Check the configuration files under /etc/ivman/
[2007-11-18 21:48] ==> and save them without the '.default' ending
[2007-11-18 21:48] installed ivman (0.6.14-1)
[2007-11-18 21:50] upgraded hal (0.5.10-1 -> 0.5.10-1)
[2007-11-18 21:50] upgraded dbus (1.0.2-4 -> 1.0.2-4)
[2007-11-18 21:50] upgraded kdelibs (3.5.8-3 -> 3.5.8-3)
[2007-11-18 21:51] upgraded kdebase (3.5.8-1 -> 3.5.8-1)

What did I do wrong?

Last edited by LB06 (2007-11-18 21:31:11)

Offline

#7 2007-11-18 22:14:29

Fatih
Member
From: Ankara-Türkiye
Registered: 2005-12-17
Posts: 67
Website

Re: Mounting USB-Devices only works as root

Same issue here, i fount that i have 2 group files in /etc

/etc/group
/etc/group-

which one is the right one ? I've add several times the user to the storage group but it's not recognizing it.

Offline

#8 2007-11-18 22:34:45

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: Mounting USB-Devices only works as root

I'm having problems with both my external disk and a regular USB stick.

Offline

#9 2007-11-18 22:36:36

ebirtaid
Member
From: USA
Registered: 2007-11-18
Posts: 52

Re: Mounting USB-Devices only works as root

I had to chmod 777 my mountpoint in order to read/write as user to both fat32 and ext3 filesystems on external drives

Offline

Board footer

Powered by FluxBB