From: Lennart Poettering Date: Fri, 23 Nov 2012 17:44:49 +0000 (+0100) Subject: man: clarify why User=/Group= don't work with mount units X-Git-Tag: v197~208 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=8a1175118e7a2e60a6ec42624f915e26e821f4e8;ds=sidebyside man: clarify why User=/Group= don't work with mount units --- diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml index f32861b15..78b5f5257 100644 --- a/man/systemd.mount.xml +++ b/man/systemd.mount.xml @@ -75,9 +75,14 @@ binary is executed in, and in systemd.kill5 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. + terminated. Note that the User= and Group= options are + not particularly useful for mount units specifying a + Type= option or using configuration + not specified in /etc/fstab; + mount8 + will refuse options that aren't listed in + /etc/fstab if it is not run as + UID 0. Mount units must be named after the mount point directories they control. Example: the mount point