summaryrefslogtreecommitdiffstats
path: root/web/input/doc/faq/ownership.md
diff options
context:
space:
mode:
Diffstat (limited to 'web/input/doc/faq/ownership.md')
-rw-r--r--web/input/doc/faq/ownership.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/web/input/doc/faq/ownership.md b/web/input/doc/faq/ownership.md
new file mode 100644
index 0000000..58bc311
--- /dev/null
+++ b/web/input/doc/faq/ownership.md
@@ -0,0 +1,25 @@
1title: Ownership
2parent: FAQ
3---
4
5# Which user owns the installed plugins?
6
7If you run `./configure` `--with-user=nagios`, then at `make` `install` time,
8the installation will set the ownership of the plugins to the nagios user
9(similarly for `--with-group`). If these options are not set, the plugins
10will be installed with the install user's owner and group permissions - it is
11your responsibility to set other permissions, if required.
12
13The only exception are root plugins. These are under `plugins-root/` and are
14also installed with the install user's owner and group permissions.
15
16If you run:
17
18 make install-root
19
20This will set permissions to root, assuming you are either root or using
21fakeroot. If not, the setuid bit is still set, but the plugin may not work
22correctly. This is the behaviour used by coreutils for the `su` binary and is
23duplicated in this project.
24
25<!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %-->