You are not logged in.
Hi guys,
I tried to get this working for some time now. When I connect an external drive or usb-stick, it gets reckognized from HAL and appears in Nautilus but when I click on mount, nothing happens. Mounting by hand is no problem, but then, only root has write access, which is annoying. I started hal as nodeamon giving this:
device = /dev/sdc1
invoked by uid = 1000
invoked by system bus connection = :1.108
label 'KINGSTON' uuid '5730-47A8'
Looking at /etc/fstab entry 'none'
/etc/fstab: device none -> none
Looking at /etc/fstab entry 'none'
/etc/fstab: device none -> none
Looking at /etc/fstab entry '/dev/mapper/root'
/etc/fstab: device /dev/mapper/root -> /dev/mapper/root
Looking at /etc/fstab entry 'UUID=60c1cc74-57af-48f7-85a0-19c79749f346'
Looking at /etc/fstab entry 'https://mediacenter.gmx.net'
/etc/fstab: device https://mediacenter.gmx.net -> https:/mediacenter.gmx.net
mount_point = 'KINGSTON'
mount_fstype = ''
mount_options = 'shortname=lower uid=1000 '
trying dir /media/KINGSTON
given_options[0] = 'shortname=lower'
given_options[1] = 'uid=1000'
allowed_options[0] = 'ro'
allowed_options[1] = 'sync'
allowed_options[2] = 'dirsync'
allowed_options[3] = 'noatime'
allowed_options[4] = 'nodiratime'
allowed_options[5] = 'noexec'
allowed_options[6] = 'quiet'
allowed_options[7] = 'remount'
allowed_options[8] = 'exec'
allowed_options[9] = 'utf8'
allowed_options[10] = 'shortname='
allowed_options[11] = 'codepage='
allowed_options[12] = 'iocharset='
allowed_options[13] = 'umask='
allowed_options[14] = 'dmask='
allowed_options[15] = 'fmask='
allowed_options[16] = 'uid='
allowed_options[17] = 'flush'
uid= with uid 1000
[WARN 8177] skipping unknown tag <match> at line 10 of /etc/PolicyKit/PolicyKit
.conf
[WARN 8177] skipping unknown tag <match> at line 11 of /etc/PolicyKit/PolicyKit
.conf
[WARN 8177] skipping unknown tag <return> at line 12 of /etc/PolicyKit/PolicyKi
t.conf
[WARN 8177] skipping unknown tag <match> at line 14 of /etc/PolicyKit/PolicyKit
.conf
[WARN 8177] skipping unknown tag <return> at line 15 of /etc/PolicyKit/PolicyKi
t.conf
[WARN 8177] skipping unknown tag <match> at line 17 of /etc/PolicyKit/PolicyKit
.conf
[WARN 8177] skipping unknown tag <return> at line 18 of /etc/PolicyKit/PolicyKi
t.conf
19:19:40.539 [i] device.c:1894: Removing locks from ':1.110'
pid 8176: rc=1 signaled=0: /usr/lib/hal/hal-storage-mount
19:19:40.541 [i] device.c:1894: Removing locks from ':1.109'
19:19:40.541 [i] hald_dbus.c:4086: No more methods in queue
19:19:40.541 [i] hald_dbus.c:4149: failed with 'org.freedesktop.Hal.Device.Permi
ssionDeniedByPolicy' 'org.freedesktop.hal.storage.mount-removable no <-- (action
, result)'
19:19:40.541 [D] hotplug.c:453: events queued = 0, events in progress = 0
19:19:40.541 [D] hotplug.c:458: Hotplug-queue empty now ... no hotplug events in
progress
This is my Policykit.conf:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<config version="0.1">
<match user="zimt"> <!-- replace with your login or delete the line if you want to allow all users to manipulate devices (keep security issues in mind though) -->
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options"> <!-- for internal devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
<match action="hal-storage-mount-removable-extra-options"> <!-- for external devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
</match> <!-- don't forget to delete this line if you deleted the first one -->
</config>
</config>
These are my groups:
wheel network video audio optical storage power users
fuse and usb_storage modules are loaded.
Would be cool if anyone could help me with this.
Cheers
zimt
Offline
you have a useless double
<config version="0.1">
</config>
Try removing those, restart HAL and give it another go.
Arch i686 on Phenom X4 | GTX760
Offline
Thanks, that's it! Now that you pointed it out, it's pretty obvious :-)
I know why I prefer text-configfiles over xml.
Where can I put this to solved?
Last edited by zimt (2009-05-24 18:49:45)
Offline
Thanks, that's it! Now that you pointed it out, it's pretty obvious :-)
I know why I prefer text-configfiles over xml.Where can I put this to solved?
Simply edit your first post, it will have a topic title bar where you can edit the title
enjoy hal ^^
Arch i686 on Phenom X4 | GTX760
Offline