Determining owner of a (fuse) mountpoint?
Hello,
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?
Best,
-Nikolaus
Signature · 3 lines
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«Quoted 4 lines · Nikolaus Rath
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?
Signature · 4 lines
Aleksa Sarai Senior Software Engineer (Containers) SUSE Linux GmbH <https://www.cyphar.com/>
Quoted 9 lines · Aleksa Sarai
Quoted 4 lines · Nikolaus Rath
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?
I think it is sufficient, I just never noticed it. Thanks!
Best,
-Nikolaus
--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«