I use FreeBSD with GDM/Gnome2.32 and I can mount and unmount CD's and different USB-Sticks in Nautilus just fine.
My PolicyKit.conf looks like this:
So all I did is add "|werner" to the original file, which seems to work fine with all devices.
Only thing that bothers me is that my external NTFS USB-Harddisk, when plugging it into the USB-port,mounts automatically, but later I cannot unmount it by clicking the eject button like it works with any other device. A window saying "Cannot unmount...permission denied." pops up. I can only unmount it from the command line with
Why is that so? The only thing different between the USB-Harddisk and other USB-Sticks to me is that it is NTFS and therefore fusefs is also involved. I would also like to mention that under Windows for that drive no eject option appears, as in Windows writecache for external devices is disabled. I don't know if that has anything to do. But if I just unplug the Disk in FreeBSD, it still appears as mounted in Gnome, so what can I do?
My PolicyKit.conf looks like this:
Code:
<?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 user="root|werner">
<return result="yes"/>
</match>
<define_admin_auth group="wheel"/>
</config>
So all I did is add "|werner" to the original file, which seems to work fine with all devices.
Only thing that bothers me is that my external NTFS USB-Harddisk, when plugging it into the USB-port,mounts automatically, but later I cannot unmount it by clicking the eject button like it works with any other device. A window saying "Cannot unmount...permission denied." pops up. I can only unmount it from the command line with
#umount /media/USB-Disk
Why is that so? The only thing different between the USB-Harddisk and other USB-Sticks to me is that it is NTFS and therefore fusefs is also involved. I would also like to mention that under Windows for that drive no eject option appears, as in Windows writecache for external devices is disabled. I don't know if that has anything to do. But if I just unplug the Disk in FreeBSD, it still appears as mounted in Gnome, so what can I do?