aboutsummaryrefslogtreecommitdiffstats
path: root/info/adjbacklight.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-26 11:01:23 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-26 11:01:23 +0100
commitf9fe31fff07b2dec07c801a58dd732ca413d0c0e (patch)
treec43350ae5d2e1f5fab5e1d08ed591d8f59dff39e /info/adjbacklight.texinfo
parentrestrict to root and the video herd (diff)
downloadadjbacklight-f9fe31fff07b2dec07c801a58dd732ca413d0c0e.tar.gz
adjbacklight-f9fe31fff07b2dec07c801a58dd732ca413d0c0e.tar.bz2
adjbacklight-f9fe31fff07b2dec07c801a58dd732ca413d0c0e.tar.xz
doc permissions in info manual
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--info/adjbacklight.texinfo10
1 files changed, 10 insertions, 0 deletions
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