On Fri, Oct 11, 2002, Oliver Neukum <[EMAIL PROTECTED]> wrote:
> 
> > I'd rather not go that route.
> >
> > I'd much rather prefer that applications add some a configuration to
> > hotplug with the devices they support and hotplug dynamically adjust the
> > permissions to the console user.
> >
> > This should be doable.
> 
> Not entirely and securely.
> To be precise, you can hand out permissions, but you cannot take them away.

I'm not sure I understand what you mean here.

> If you leave that to the hotplugging scripts, you have to wait for them
> to finish,

Yes, I figured that much :)

> and even more painfully, what do you do if there's an IO error
> during execution of the script. The only safe reaction would be a kernel
> panic.

A kernel panic should only be the result of a catastrophic system
failure that the kernel cannot continue from.

Failing to set permissions on a device doesn't seem like something that
would qualify for a panic.

Regardless, a bug in a script can always cause a failure. So can a bug
in the kernel. I'm not exactly sure what you're getting at here.

JE



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to