Skip to content
Dmitry Mishin edited this page Aug 8, 2014 · 2 revisions

ZFS permissions for user

zfs allow -u zfs receive tank - ?

http://comments.gmane.org/gmane.linux.file-systems.zfs.user/5280

  1. On M2 create group 'zfs'

  2. Assign group to user 'administrator'

  3. On M2, create the following file -

root <at> eucalyptus:~# cat /etc/udev/rules.d/91-zfs-permissions.rules

ACTION=="add", KERNEL=="zfs", MODE="0660", GROUP="zfs"

  1. Reboot, or reload udev or try 'udevadm trigger --action=add' [tried 'udevadm control --action=add' first, this does nothing, found out after many attempts]

  2. Now -

root <at> eucalyptus:~# ll /dev/zfs

crw-rw---- 1 root zfs 10, 57 Nov 17 18:46 /dev/zfs

Clone this wiki locally