-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ZFS delegations #838
Comments
I recently wrote something that manages this for my own infrastructure. The repo it's in is private, so I'll repost the relevant bits here. It'd need some work to be integrated, but it might be a good start for someone that wants to pick this up. This allows one to set the delegated permissions on a dataset like this: {
zfs.datasets."dataset/name".allow.everyone.userprop = true;
zfs.datasets."dataset/name".allow.user."username".refquota = "descedent";
zfs.datasets."dataset/name".allow.group."groupname".refquota = "local";
} The basic approach I've taken is to generate two lists of partial allow commands (without the For reference, the above configuration would result in the following -e userprop dataset/name
-d -u username refquota dataset/name
-l -g groupname refquota dataset/name
|
I'm splitting this off from #298, which contains a lot of discussion about an unrelated feature, an delegations are the only thing missing.
The addition of this feature would be appreciated, but isn't a high priority.
The text was updated successfully, but these errors were encountered: