diff options
author | Alan Jenkins <alan.christopher.jenkins@gmail.com> | 2017-12-19 21:22:05 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-12-19 21:22:05 +0100 |
commit | 5e0aff564c86838e08c4b1bdd8df182d233a36b8 (patch) | |
tree | 767f77bfa52e497d7e602f8ff0de7632ad7a0ca4 /man/logind.conf.xml | |
parent | Merge pull request #7697 from yuwata/fix-man-exec-no-new-priv (diff) | |
download | systemd-5e0aff564c86838e08c4b1bdd8df182d233a36b8.tar.xz systemd-5e0aff564c86838e08c4b1bdd8df182d233a36b8.zip |
man: User=, Group= *never* work for mount units (#7602)
Old text:
> 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;
> mount(8) will refuse options that are not listed in /etc/fstab if it is
> not run as UID 0.
However I recently learnt the following:
> The mount program does not read the /etc/fstab file if both device
> and dir are specified.
Therefore, if both device and dir are specified, the `user` or `users`
options in `fstab` will not have any effect. Run as a normal user,
you will always see
mount: only root can do that
Fix the explanation in the man page.
Also make sure to markup User= and Group= with <varname>.
Diffstat (limited to 'man/logind.conf.xml')
0 files changed, 0 insertions, 0 deletions