Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Mar 2019 18:50:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236291] [FUSE] fuse(4) ignore file permissions
Message-ID:  <bug-236291-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236291

            Bug ID: 236291
           Summary: [FUSE] fuse(4) ignore file permissions
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

fuse(4) is supposed to have two different modes of operation.  With the "-o
default_permissions" mount option, the kernel is supposed to do all validat=
ion
of file permissions (it doesn't, but that's a separate bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216391).  Without that =
mount
option, fuse(4) is supposed to query the daemon to validate permissions with
FUSE_ACCESS.  However, our currently implementation isn't doing that.  Inst=
ead,
fuse_internal_access merely validates:

* The filesystem is not read-only if write access is requested
* The accessing user is the same user who is running the daemon if
  "-o allow_other" was not specified at mount time

This means, for example, that a user can execute a non-executable file stor=
ed
on a fuse filesystem.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236291-227>