Marco d'Itri wrote:
> On Jun 10, Jonathan Nieder <[email protected]> wrote:

>> To allow people at a multiuser installation to write Debian
>> installation media to take home with them, it would be nice to able to
>> automatically grant the current user access to any newly attached
>> removable block devices (think: USB key).
>
> getfacl /dev/cdrom
> and get consolekit working if it is not.

By the way: /lib/udev/rules.d/70-acl.rules contains

        # optical drives
        SUBSYSTEM=="block", ENV{ID_CDROM}=="1", TAG+="udev-acl"

but nothing like the following.

        # removable disks
        SUBSYSTEM=="block", ATTRS{removable}=="1", DRIVERS!="aacraid", 
TAG+="udev-acl"
        SUBSYSTEM=="block", SUBSYSTEMS=="usb|ieee1394|mmc|pcmcia", 
TAG+="udev-acl"

I am not sure what consolekit could do.

Jonathan



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to