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

From: Alan Cox
Date: Sat May 05 2007 - 17:44:38 EST


On Sat, 5 May 2007 12:49:54 +0200
Colin Leroy <colin@xxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/