Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933907AbXEEVoX (ORCPT ); Sat, 5 May 2007 17:44:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933921AbXEEVoX (ORCPT ); Sat, 5 May 2007 17:44:23 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:59891 "EHLO the-village.bc.nu" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S933907AbXEEVoW (ORCPT ); Sat, 5 May 2007 17:44:22 -0400 Date: Sat, 5 May 2007 22:48:03 +0100 From: Alan Cox To: Colin Leroy Cc: Richard Purdie , linux-kernel@vger.kernel.org Subject: Re: [PATCH] led-class.c permission change Message-ID: <20070505224803.67f76749@the-village.bc.nu> In-Reply-To: <20070505124954.0e2bcf53@localhost.localdomain> References: <20070505124954.0e2bcf53@localhost.localdomain> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 771 Lines: 23 On Sat, 5 May 2007 12:49:54 +0200 Colin Leroy 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/