Removing ZFS Delegated Permissions (zfs unallow
)
You can remove previously delegated permissions with the zfs unallow
command.
For example, assume that you delegated create
, destroy
, mount
, and snapshot
permissions as follows:
$ zfs allow mindy create,destroy,mount,snapshot system1/home/mindy $ zfs allow system1/home/mindy ---- Permissions on system1/home/mindy ---------------------------------- Local+descendant permissions: user mindy create,destroy,mount,snapshot
To remove these permissions, you would use the following syntax:
$ zfs unallow mindy system1/home/mindy $ zfs allow system1/home/mindy