lttng-sessiond: Set group permissions explicitly
authorJuha Niskanen <juniskane@gmail.com>
Thu, 16 Feb 2012 20:32:12 +0000 (22:32 +0200)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 17 Feb 2012 18:48:19 +0000 (13:48 -0500)
commitd1613cf5d1c9c55cc395a92fbe92147c99d496a9
tree603abb4f8b3f06358b3ae35ab221c5479f098aa1
parentb0ef677e04ce0b544e883831c8b0050710c1b651
lttng-sessiond: Set group permissions explicitly

If root has a restrictive umask, e.g. 0077 when starting the session
daemon, users in kernel tracing group cannot access the global run
directory.

This patch drops unnecessary group mode bits and always sets the global
run dir permission regardless of umask.

Signed-off-by: Juha Niskanen <juniskane@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.025502 seconds and 4 git commands to generate.