Skip to content

Commit

Permalink
man: clarify why User=/Group= don't work with mount units
Browse files Browse the repository at this point in the history
  • Loading branch information
poettering committed Nov 23, 2012
1 parent be2155c commit 8a11751
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions man/systemd.mount.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a11751

Please sign in to comment.