]> 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>
Thu, 19 Nov 2020 10:12:06 +0000 (11:12 +0100)
commit77a37084898d6df73783a53135a26b4c8b99bf15
tree7059905c65ca9c0fe2948d06138f1a76ae5adcfc
parent52f730e47869ce630fafb24fd46f755dc7ffc691
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