Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551798

setting brightness as privileged operation?

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject setting brightness as privileged operation?
Date 2017-01-05 10:30 +0100
Message-ID <sWcwW-Vl-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

setting brightness as privileged operation? Michal Hocko <mhocko@kernel.org> - 2017-01-05 10:30 +0100

csiph-web