From f9fe31fff07b2dec07c801a58dd732ca413d0c0e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 26 Jan 2014 11:01:23 +0100 Subject: doc permissions in info manual MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/adjbacklight.texinfo | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/info/adjbacklight.texinfo b/info/adjbacklight.texinfo index 000a742..fb5e16b 100644 --- a/info/adjbacklight.texinfo +++ b/info/adjbacklight.texinfo @@ -86,6 +86,16 @@ at least that. If you want higher precision, it is simple to modify the source code. Just run @code{sed -i s/200/400/g src/adjbacklight.c}, if you want 0.25 % precision. +@cindex root +@cindex video +@cindex permissions +To use @command{adjbacklight} you must either be root or be a member of the +group `video'. The `video' membership requirement is artificial so you can rip +that out from the code if you prefer, but the effective user must be `root' +(EUID = 0) otherwise you will not have permission to use files in +@file{/sys/class/backlight} unless you make your initialisation +system give you access. + @node Invoking -- cgit v1.2.3-70-g09d2