Assuming you have a pool called tank...
And assuming you have an encrypted dataset (See Jim Saltar's short intro)
- Create a group for permissions - in my case I have one called
home - Then if there's anything in
/tank/encryptedhis it withchgrp -R home /tank/encryptedto give thehomegroup ownership - Next we need to make sure that the members of
homecan do the writing... sochmod 775 -R /tank/encryptedwill do the trick - Finally we want to make sure that all data created inside our dataset has
the same set of permissions with
chmod g+s /tank/encryptedandchmod g+w /tank/encrypted