linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* setting brightness as privileged operation?
@ 2017-01-05  9:23 Michal Hocko
  2017-05-11 21:07 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Hocko @ 2017-01-05  9:23 UTC (permalink / raw)
  To: Jingoo Han, Lee Jones; +Cc: linux-fbdev, linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-17 11:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05  9:23 setting brightness as privileged operation? Michal Hocko
2017-05-11 21:07 ` Pavel Machek
2017-05-12  6:20   ` Michal Hocko
2017-05-12  9:47     ` Pavel Machek
2017-05-17 11:02       ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).