mirror_zfs/tests/zfs-tests
shodanshok 201d262949
Add receive:append permission for limited 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 adds the receive:append permission, which only permits
limited, non-forced receive. Behavior for users with full receive
permission is not changed in any way.

Fixes #16943
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Gionatan Danti <g.danti@assyoma.it>
Closes #17015
2025-03-13 13:54:14 -04:00
..
callbacks Split functional testings via github action matrix 2023-03-15 10:41:05 -07:00
cmd Linux/vnops: implement STATX_DIOALIGN 2025-03-13 13:15:14 -04:00
include FDT dedup log sync -- remove incremental 2025-03-13 13:47:03 -04:00
tests Add receive:append permission for limited receive 2025-03-13 13:54:14 -04:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00