Credential problem with HAL and USB disk.
#1
Hello there

My USB drives are mounted correctly under xbmc. I can see them and browse & play content.

Xbmc is running as xbmc user ( non root ).
And here is my problem. External drives are mounted read only for the xbmc users. I can see the disk is mounted as root:root in /media.

I'd like those disk to be writable for xbmc user, if I want to use the File Manager of xbmc to copy & paste media from xbmc to the external drive.

I'm completly messed with HAL, tryed many things without success.

My Policykit.conf have this:

<config version="0.1">
<define_admin_auth user="xbmc"/>
</config>


Here is the xbmc log part when usb disk is mounted:

Code:
19:19:57 T:3029833600 M:1314873344   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/usb_device_2008_2018_2007111209575097) Added
19:19:57 T:3029833600 M:1314873344   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_06_1_usbraw_0) Added
19:19:57 T:3029833600 M:1314873344   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/usb_device_2008_2018_2007111209575097_if0) Added
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/usb_device_2008_2018_2007111209575097_if0_scsi_generic) Added
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/usb_device_2008_2018_2007111209575097_if0_scsi_host) Added
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/usb_device_2008_2018_2007111209575097_if0_scsi_host_scsi_device_lun0) Added
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/storage_serial_USB_2_0_Flash_Disk_2007111209575097_0_0) Added
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/storage_serial_USB_2_0_Flash_Disk_2007111209575097_0_0) Property info.interfaces modified
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/volume_uuid_A8D4_E2E0) Added
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Added - removable disk | UUID A8D4-E2E0 | FileSystem vfat | Mounted on /media/BOOTUSB/ | HotPlugged YES | Type 0 |Approved YES
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/volume_uuid_A8D4_E2E0) Property volume.mount_point modified
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Update - removable disk | UUID A8D4-E2E0 | FileSystem vfat | Mounted on /media/BOOTUSB/ | HotPlugged YES | Type 0 |Approved YES
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/volume_uuid_A8D4_E2E0) Property volume.is_mounted modified
19:20:02 T:3029833600 M:1303785472   DEBUG: HAL: Update - removable disk | UUID A8D4-E2E0 | FileSystem vfat | Mounted on /media/BOOTUSB/ | HotPlugged YES | Type 0 |Approved YES


xbmc svn 25851 , 32 bits, debian testing.

Some lightened spirits with HAL here ?

Thanks Smile
Reply


Messages In This Thread
Credential problem with HAL and USB disk. - by hotlobster - 2009-12-21, 12:53
[No subject] - by WWWilco - 2009-12-21, 23:37
[No subject] - by hotlobster - 2009-12-22, 10:12
[No subject] - by althekiller - 2009-12-22, 10:18
[No subject] - by hotlobster - 2009-12-22, 10:20
[No subject] - by hotlobster - 2009-12-22, 15:39
Logout Mark Read Team Forum Stats Members Help
Credential problem with HAL and USB disk.0