From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033457AbdAEJXf (ORCPT ); Thu, 5 Jan 2017 04:23:35 -0500 Received: from mx2.suse.de ([195.135.220.15]:53698 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967332AbdAEJXP (ORCPT ); Thu, 5 Jan 2017 04:23:15 -0500 Date: Thu, 5 Jan 2017 10:23:07 +0100 From: Michal Hocko To: Jingoo Han , Lee Jones Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: setting brightness as privileged operation? Message-ID: <20170105092307.GD21618@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I have just learned that my Xfce Power Manager cannot manipulate brightness because I do not have policykit installed on my computer. There is a reason for that (yeah it depends on systemd which I prefer not have). While this is clearly a problem of the Xfce applet I am wondering why setting the brightness has to be a privileged operation at all. Is there any strong reason for it or just a general policy that we do not give world writable files into sysfs? -- Michal Hocko SUSE Labs