https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232021
Bug ID: 232021 Summary: zfs cannot mount 'dataset': Insufficient privileges Product: Base System Version: 11.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: b...@freebsd.org Reporter: supportsob...@mail.ru Unprivileged user will not mount dataset even with 'mount' permissions (by zfs allow) and vfs.usermount=1 set. The same user will be able UNmount the dataset (only id vfs.usermount=1, otherwise - not). # zfs mount zroot/testset cannot mount 'zroot/testset': Insufficient privileges How to repeat: 1) Give permissions to unprivileged user bob: #zfs allow -u bob mount,mountpoint,.... zroot 2) Check it #zfs allow zroot ---- Permissions on zroot -------------------------------------------- Local+Descendent permissions: user bob clone,create,destroy,diff,hold,mount,mountpoint,quota,receive,rollback,send,snapdir,snapshot,userprop 3) Set and check # sysctl vfs.usermount=1 # sysctl -a|grep vfs.usermount 4) Now mount as bob # zfs mount zroot/testset cannot mount 'zroot/testset': Insufficient privileges The problem has been also well described here https://groups.google.com/forum/#!topic/mailing.freebsd.fs/3Wx4K7pJA7U -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"