You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Signed-off-by: Gionatan Danti <[email protected]>
Copy file name to clipboardexpand all lines: man/man8/zfs-allow.8
+2-1
Original file line number
Diff line number
Diff line change
@@ -207,14 +207,15 @@ load-key subcommand Allows loading and unloading of encryption key (see \fBzfs l
207
207
change-key subcommand Allows changing an encryption key via \fBzfschange-key\fR.
208
208
mount subcommand Allows mounting/umounting ZFS datasets
209
209
promote subcommand Must also have the \fBmount\fR and \fBpromote\fR ability in the origin file system
210
-
receive subcommand Must also have the \fBmount\fR and \fBcreate\fR ability
210
+
receive subcommand Must also have the \fBmount\fR and \fBcreate\fR ability, required for \fBzfsreceive-F\fR (see also \fBreceive:append\fR for limited, non forced receive)
211
211
release subcommand Allows releasing a user hold which might destroy the snapshot
212
212
rename subcommand Must also have the \fBmount\fR and \fBcreate\fR ability in the new parent
213
213
rollback subcommand Must also have the \fBmount\fR ability
214
214
send subcommand
215
215
share subcommand Allows sharing file systems over NFS or SMB protocols
216
216
snapshot subcommand Must also have the \fBmount\fR ability
217
217
218
+
receive:append other Must also have the \fBmount\fR and \fBcreate\fR ability, limited receive ability (can not do receive -F)
218
219
groupquota other Allows accessing any \fBgroupquota@\fI…\fR property
219
220
groupobjquota other Allows accessing any \fBgroupobjquota@\fI…\fR property
220
221
groupused other Allows reading any \fBgroupused@\fI…\fR property
0 commit comments