summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-11-23 18:44:49 +0100
committerLennart Poettering <lennart@poettering.net>2012-11-23 18:44:49 +0100
commit8a1175118e7a2e60a6ec42624f915e26e821f4e8 (patch)
tree9e098030275dffed0c14fdf18a7187018aa8877b /man
parentbe2155ce705c1c1a25fa5b2927e2e02f4b3c7a35 (diff)
man: clarify why User=/Group= don't work with mount units
Diffstat (limited to 'man')
-rw-r--r--man/systemd.mount.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
index f32861b159..78b5f5257c 100644
--- a/man/systemd.mount.xml
+++ b/man/systemd.mount.xml
@@ -75,9 +75,14 @@
binary is executed in, and in
<citerefentry><refentrytitle>systemd.kill</refentrytitle><manvolnum>5</manvolnum></citerefentry>
which define the way the processes are
- terminated. The User= and Group= options are not useful
- for mount units specifying a Type= option; the mount
- binary must run as root if there is a specified type.</para>
+ terminated. Note that the User= and Group= options are
+ not particularly useful for mount units specifying a
+ <literal>Type=</literal> option or using configuration
+ not specified in <filename>/etc/fstab</filename>;
+ <citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ will refuse options that aren't listed in
+ <filename>/etc/fstab</filename> if it is not run as
+ UID 0.</para>
<para>Mount units must be named after the mount point
directories they control. Example: the mount point