Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15277 - [policykit] Nautilus fails to unmount some external drives
Attached to Project:
Arch Linux
Opened by Joël Schaerer (lardon) - Friday, 26 June 2009, 21:11 GMT
Last edited by Jan de Groot (JGC) - Thursday, 22 October 2009, 07:24 GMT
Opened by Joël Schaerer (lardon) - Friday, 26 June 2009, 21:11 GMT
Last edited by Jan de Groot (JGC) - Thursday, 22 October 2009, 07:24 GMT
|
DetailsDescription:
Nautilus fails to unmount some external drives. When I click the eject button or select "Unmount" from the contextual menu, nothing happens. Unmounting manually as a normal user gives the following error: /sbin/umount.hal: Unmounting /media/disk-1 failed: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.unmount-others auth_admin_keep_always <-- (privilege, result) Unmounting as root works. I'm guessing this might be a problem with policyKit, but I'm the only user logged currently on my machine, and the device was mounted automatically from my session when I plugged in the device. It's interesting to note that I can unmount some devices: for instance, I can unmount the second filesystem on my removal HDD, but not the first one. Steps to reproduce: * Plug in removable media * Click "eject" from nautilus * Nothing happens |
This task depends upon
Closed by Jan de Groot (JGC)
Thursday, 22 October 2009, 07:24 GMT
Reason for closing: Deferred
Additional comments about closing: Nautilus doesn't use hal anymore.
Thursday, 22 October 2009, 07:24 GMT
Reason for closing: Deferred
Additional comments about closing: Nautilus doesn't use hal anymore.
No only this, from "About..." to "Perm..." http://wiki.archlinux.org/index.php/HAL#Permission_Denied
Here are the device permissions:
joel@mouton ~$ ll /dev/sd*
brw-rw---- 1 root disk 8, 0 2009-07-09 21:54 /dev/sda
brw-rw---- 1 root disk 8, 1 2009-07-09 21:54 /dev/sda1
brw-rw---- 1 root disk 8, 2 2009-06-17 09:54 /dev/sda2
brw-rw---- 1 root disk 8, 3 2009-07-09 21:54 /dev/sda3
brw-rw---- 1 root disk 8, 4 2009-07-09 21:54 /dev/sda4
brw-rw---- 1 root storage 8, 16 2009-07-09 23:24 /dev/sdb
brw-rw---- 1 root storage 8, 17 2009-07-09 23:24 /dev/sdb1
brw-rw---- 1 root disk 8, 32 2009-07-09 23:35 /dev/sdc
brw-rw---- 1 root disk 8, 33 2009-07-09 23:35 /dev/sdc1
brw-rw---- 1 root disk 8, 34 2009-07-09 23:35 /dev/sdc2
Here are the permissions of the mounted directories:
joel@mouton ~$ ll /media/
drwxr-xr-x 20 root root 4096 2009-05-13 18:17 disk
drwxr-xr-x 3 root root 4096 2009-07-09 23:33 test1
drwxr-xr-x 3 root root 4096 2009-07-09 23:28 test2
Here's what happens when I try to unmount manually:
joel@mouton ~$ umount /media/disk/
/sbin/umount.hal: Unmounting /media/disk failed: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.unmount-others auth_admin_keep_always <-- (privilege, result)
joel@mouton ~$ umount /media/test1
/sbin/umount.hal: Unmounting /media/test1 failed: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.unmount-others auth_admin_keep_always <-- (privilege, result)
joel@mouton ~$ umount /media/test2
Unmounting through nautilus yields the same results, minus the error messages (unmounting fails silently for sdb1 and sdc1)
I have mounted the filesystems through nautilus. I don't know how it works (no idea what I'm using, sorry). Can't mount manually, it tells me "only root can do that".
Here 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">
<match action="org.freedesktop.hal.power-management.suspend">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.power-management.hibernate">
<return result="yes"/>
</match>
</config>
~