Linux-Fsdevel Archive on
help / color / mirror / Atom feed
From: Aleksa Sarai <>
To:, miklos <>,
	Linux FS Devel <>
Subject: Re: Determining owner of a (fuse) mountpoint?
Date: Sun, 17 May 2020 18:09:09 +1000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

On 2020-05-15, Nikolaus Rath <> wrote:
> Given a (FUSE) mountpoint (potentially mounted without -o allow_root),
> is there a way for root to determine its "owner" (i.e. the user who has
> started the FUSE process and invoked fusermount) that does not depend on
> cooperation of the user/filesystem?

The mount options of a FUSE mount contain the entries "user_id=N" and
"group_id=M" which correspond to the "mount owner" and those entries are
filled by fusermount. Is that not sufficient?

Aleksa Sarai
Senior Software Engineer (Containers)
SUSE Linux GmbH

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2020-05-17  8:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 19:21 Nikolaus Rath
2020-05-17  8:09 ` Aleksa Sarai [this message]
2020-05-17 14:59   ` [fuse-devel] " Nikolaus Rath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: Determining owner of a (fuse) mountpoint?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).