Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
require rollback permission when force receive
Force receive (zfs receive -F) can rollback or destroy snapshots and file systems that do not exist on the sending side (see zfs-receive man page). This means an user having the receive permission can effectively delete data on receiving side, even if such user does not have explicit rollback or destroy permissions. This patch add the rollback permission requirement for forced receive. Fixes #16943 Signed-off-by: Gionatan Danti <[email protected]>
- Loading branch information