On 2020-05-15, Nikolaus Rath <Nikolaus@xxxxxxxx> 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 <https://www.cyphar.com/>
Attachment:
signature.asc
Description: PGP signature