Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Sep 2015 01:57:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194206] sysutils/fusefs-encfs: failed to open fuse device: Permission denied
Message-ID:  <bug-194206-13-NGJFfUNu01@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194206-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194206-13@https.bugs.freebsd.org/bugzilla/>

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

Jason Unovitch <junovitch@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
                 CC|                            |junovitch@freebsd.org
             Status|Open                        |Closed

--- Comment #6 from Jason Unovitch <junovitch@freebsd.org> ---
As mentioned above, /dev/fuse is owned by operator so either lax devfs.rules
permissions or the user must be part of the operator group.  This seems to work
as intended as shown below so I am marking the PR as such.

jason@Silverstone:/tmp/test % mkdir foo bar
jason@Silverstone:/tmp/test % encfs /tmp/test/foo/ /tmp/test/bar/
# ...<truncated> ...
jason@Silverstone:/tmp/test % ll foo/
total 5
-rw-r--r--  1 jason  wheel  1091 Sep  5 21:40 .encfs6.xml
jason@Silverstone:/tmp/test % ll bar/
total 0
jason@Silverstone:/tmp/test % touch bar/testfile
jason@Silverstone:/tmp/test % ll bar/
total 1
-rw-r--r--  1 jason  wheel  0 Sep  5 21:47 testfile
jason@Silverstone:/tmp/test % ll foo/
total 5
-rw-r--r--  1 jason  wheel     0 Sep  5 21:47 ,5EcdxPBzRznuNh-LJR8h4Tl
-rw-r--r--  1 jason  wheel  1091 Sep  5 21:40 .encfs6.xml
jason@Silverstone:/tmp/test % ll /dev/fuse 
crw-rw----  1 root  operator  0xbd Sep  5 21:47 /dev/fuse

Regarding not being able to access it when mounting as root, this is by design
as well.  See mount.fuse(8) for details, a brief quote follows.

       user_allow_other
              Allow non-root users to specify the  allow_other  or  allow_root
              mount options (see below).

-- 
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-194206-13-NGJFfUNu01>