]> git.ipfire.org Git - thirdparty/util-linux.git/commit
umount: ignore --no-canonicalize,-c for non-root users
authorKarel Zak <kzak@redhat.com>
Thu, 19 Nov 2020 10:12:06 +0000 (11:12 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2021 08:33:41 +0000 (09:33 +0100)
commit0bfa747f0176af4b94a4e1f6f434ddfcd9ce5099
tree7eb714367e84540c4548956c4fed1293fe58242d
parent262ff9bf04e862dcfca8f3d0cb2c6bd2edaff327
umount: ignore --no-canonicalize,-c for non-root users

It seems better to ignore this option than drop-permissions and later
exit with EPERMs. This change makes umount(8) more compatible with
fuser user umounts by systemd where -c is used to reduce overhead etc.

Addresses: https://github.com/karelzak/util-linux/issues/1192
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/umount.8
sys-utils/umount.c