Re: [PATCH] led-class.c permission change

Alan Cox
2007-05-05T21:44:23Z

On Sat, 5 May 2007 12:49:54 +0200
Colin Leroy <colin@colino.net> wrote:

> Hi,
>
> This patch changes the led brightness file's permissions to 0666, so that a
> user's MUA can light up the mail LED without needing root permissions.

NAK.

The management of user specific temporary permissions belongs in user
space with a safe "no" default value to stop background daemons doing
silly things.

Take a look at the various pam console management modules (and also beat
people up to get revoke() support into the kernel).

Alan