Add execute flag for other (r+x) on the lttng run directory at
/var/run/lttng so instrumented application *not* in the tracing group
can register to the global session daemon running as root.
(refs #141)
Signed-off-by: David Goulet <dgoulet@efficios.com>
}
/* Ensure tracing group can search the run dir */
}
/* Ensure tracing group can search the run dir */
- ret = chmod(rundir, S_IRWXU | S_IXGRP);
+ ret = chmod(rundir, S_IRWXU | S_IXGRP | S_IXOTH);
if (ret < 0) {
ERR("Unable to set permissions on %s", rundir);
perror("chmod");
if (ret < 0) {
ERR("Unable to set permissions on %s", rundir);
perror("chmod");