Re: permission problems with fuse

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

 



On Thu, 29 Aug 2024 at 11:49, Bernd Schubert <bernd.schubert@xxxxxxxxxxx> wrote:
>
>
>
> On 8/29/24 11:38, Miklos Szeredi wrote:
> > On Wed, 10 Jul 2024 at 21:55, stsp <stsp2@xxxxxxxxx> wrote:
> >>
> >> Hi guys!
> >>
> >> I started to try my app with fuse, and
> >> faced 2 problems that are not present
> >> with other FSes.
> >>
> >> 1. fuse insists on saved-UID to match owner UID.
> >> In fact, fuse_permissible_uidgid() in fs/fuse/dir.c
> >> checks everything but fsuid, whereas other
> >> FSes seem to check fsuid.
> >> Can fuse change that and allow saved-UID
> >> to mismatch? Perhaps by just checking fsuid
> >> instead?
> >
> > Use the "allow_other" mount option.
> >
>
> Yeah, we had a long discussion here
> https://github.com/libfuse/libfuse/discussions/991

Just one note: "allow_other" doesn't require root, it just requires
ability create a new mount.  That works fine without superuser
privileges in a user namespace.

Thanks,
Miklos




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

  Powered by Linux