Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2021 09:00:31 -0400
From:      David Schlachter <david@schlachter.ca>
To:        freebsd-jail@freebsd.org
Subject:   Re: Only root can access a fusefs mount in a jail?
Message-ID:  <CAF104kMwLVkeHVh2A86X=g8MA-oNua8SoyBgZCBR6pSshw9-%2Bw@mail.gmail.com>
In-Reply-To: <5277b3d5-dd8a-bb45-5dbd-aa9c66d9ce72@rlwinm.de>
References:  <CAF104kOX_E3tmBoFgZgqh6AQfnm7UdGwQfHOYWf_r==HfzVQTQ@mail.gmail.com> <5277b3d5-dd8a-bb45-5dbd-aa9c66d9ce72@rlwinm.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000cf580805c509ea00
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Le ven. 18 juin 2021, =C3=A0 07 h 00, Crest <crest@rlwinm.de> a =C3=A9crit =
:

> To mount a FUSE file system you need write access to the fuse device and
> the permission to mount a file system. The first is controlled by
> permissions on the fuse device(s) the second is controlled through the
> vfs.usermount sysctl. By default only root is allowed to mount file
> systems.


Thanks for your reply! In my jail, root is able to mount a fuse device. If
the permissions on the mounted device (and its contents) are 0777, I expect
that all other users in the jail should be able to view the contents of the
mount (e.g. cd in to the mount, ls the files, etc). However, even though
the device is mounted and the permissions should allow all other users to
access the mount, only root can actually access it. I want root to be able
to mount the device, and all other users to access it.

David

--000000000000cf580805c509ea00--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF104kMwLVkeHVh2A86X=g8MA-oNua8SoyBgZCBR6pSshw9-%2Bw>