From e09fc88440f399766f7f4fbe8e56b68ba18a131d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 9 Dec 2017 10:18:48 +0100 Subject: mount: add option to specify uid= and gid= The kernel needs two numbers, but for the user it's most convenient to provide the user name and have that resolved to uid and gid. Right now the primary group of the specified user is always used. That's the most common case anyway. In the future we can extend the --owner option to allow a group after a colon. [I added this before realizing that this will not be enough to be used for user runtime directory. But this seems useful on its own, so I'm keeping this commit.] --- man/systemd-mount.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'man/systemd-mount.xml') diff --git a/man/systemd-mount.xml b/man/systemd-mount.xml index 87bc2b36eb..76ea0550d7 100644 --- a/man/systemd-mount.xml +++ b/man/systemd-mount.xml @@ -159,6 +159,14 @@ Additional mount options for the mount point. + + + + Let the specified user USER own the mounted file system. + This is done by appending and options to the list + of mount options. Only certain file systems support this option. + + -- cgit v1.2.1