[Pkg-utopia-maintainers] udev: chown hotplugged mass storage device to current user

Jonathan Nieder jrnieder at gmail.com
Thu Jun 10 17:53:02 UTC 2010


found 585463 157-1
reassign 585463 consolekit 0.4.1-4
quit

Hi Marco,

Marco d'Itri wrote:
> On Jun 10, Jonathan Nieder <jrnieder at gmail.com> 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.

| $ getfacl /dev/cdrom
| getfacl: Removing leading '/' from absolute path names
| # file: dev/cdrom
| # owner: root
| # group: cdrom
| user::rw-
| user:jrn:rw-
| group::rw-
| mask::rw-
| other::---
| $
| $ getfacl /dev/sdb
| getfacl: Removing leading '/' from absolute path names
| # file: dev/sdb
| # owner: root
| # group: floppy
| user::rw-
| group::rw-
| other::---
| $
| $ getfacl /dev/sdb1
| getfacl: Removing leading '/' from absolute path names
| # file: dev/sdb1
| # owner: root
| # group: floppy
| user::rw-
| group::rw-
| other::---

Thanks for the pointer; looks like a consolekit problem then.

Ideas?
Jonathan



More information about the Pkg-utopia-maintainers mailing list