From 8a1175118e7a2e60a6ec42624f915e26e821f4e8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 23 Nov 2012 18:44:49 +0100 Subject: [PATCH] man: clarify why User=/Group= don't work with mount units --- man/systemd.mount.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 -- 2.30.2