]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zfs allow/unallow should work with numeric uid/gid
authoravg <avg@FreeBSD.org>
Tue, 12 May 2020 09:04:57 +0000 (09:04 +0000)
committeravg <avg@FreeBSD.org>
Tue, 12 May 2020 09:04:57 +0000 (09:04 +0000)
commitfc2c11966209255f18355cba6fd7db8ea3df7a0d
treea8b4a76567b8233bc139899b447b6e063e2deb81
parent225d1d90b81a222a8423f31e90f0966a6df8e332
zfs allow/unallow should work with numeric uid/gid

And that should work even (especially) if there is no matching user or
group name.  This change allows to see and modify delegations for
deleted groups and users.

The change is originally by Xin Li.
illumos report: https://www.illumos.org/issues/6037
OpenZFS (ZoL) PR: https://github.com/openzfs/zfs/pull/10280

Obtained from: delphij
MFC after: 2 weeks
cddl/contrib/opensolaris/cmd/zfs/zfs_main.c