Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Automounting removable devices within kde4



On Sun, Dec 27, 2009 at 04:43:02PM +0000, David Brownlee wrote:
> With the following revisions of hal and PolicyKit automounting removable
> devices should work fine within kde4 (and probably gnome and suchlike):
> hal-0.5.11nb26 policykit-0.9nb6
> 
> The only additional change needed is to add the following to
> /usr/pkg/etc/PolicyKit/PolicyKit.conf inside the <config> block:
>         <match action="org.freedesktop.hal.storage.mount-removable">
>                 <return result="yes" />
>         </match>
> 
> With the above plugging in a USB flash drive into my amd64 laptop pops up a
> notification window, clicking on it opens dolphin, and clicking on the
> device in dolphin correctly mounted it.
> 
> If you want to be able to mount filesystems on fixed disks you also need to
> add:
>         <match action="org.freedesktop.hal.storage.mount-fixed">
>                 <return result="yes" />
>         </match>
> 
> Should something like that be enabled by default?

No, at least not for the fixed disks.

It is a nice feature, but how do you stop users from mounting devices
which they are not supposed to mount?

Especially now that the mount point is automatically changed to that user.
Why is that needed at all?

Bernd



Home | Main Index | Thread Index | Old Index