https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212318

            Bug ID: 212318
           Summary: sysutils/fusefs-libs: fails to unmount due to a uniq
                    dev node
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
             Flags: maintainer-feedback?([email protected])

Hello,

I found a bug with fusefs.

In function fuse_unmount_compat22, the following command is used to find out
the device to unmount :
/usr/bin/fstat /dev/fuse*

Here is its output with FreeBSD 11.0-RC2 :

# fstat /dev/fuse*
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
user1    encfs      15513    4 /dev         60 crw-rw----    fuse rw  /dev/fuse
user2    encfs      15504    4 /dev         60 crw-rw----    fuse rw  /dev/fuse
user3    encfs      15456    4 /dev         60 crw-rw----    fuse rw  /dev/fuse
user4    encfs      15431    4 /dev         60 crw-rw----    fuse rw  /dev/fuse

As you can see all users use the same dev node /dev/fuse.
So when unmounting, user3 will get for example the following message :
umount: unmount of /home/user2/encfs failed: Operation not permitted

I'm not sure where is the issue, if we should expect a uniq dev node per
mounted FS, or if the unmount command is to correct.

Many thanks for your help !

Ben

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to