Re: Determining owner of a (fuse) mountpoint?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux