]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix x- options use for non-root users
authorKarel Zak <kzak@redhat.com>
Tue, 28 Jan 2020 09:45:07 +0000 (10:45 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 30 Jan 2020 10:03:35 +0000 (11:03 +0100)
commitd4dd19beb8c3fbfa104f436e42395d830c61f854
tree5a1eb2406b50a3bfc71ed34b955c852f143abba4
parent72652d49eca03f689f3fee503fdfe1e78aeb579e
libmount: fix x- options use for non-root users

libmount returns EPERM for all X- and x- mount options for non-root
users when evaluate X-mount.mkdir. It's bug, we need to be sensitive
to only X-mount.mkdir and only if the target directory is missing.

Addresses: https://github.com/karelzak/util-linux/issues/941
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
sys-utils/mount.8