Preventing Accidental Deletions With the nounlink
Attribute
The nounlink
attribute complements the immutability of files or directories in ZFS by securing them from being accidentally removed. However, unlike the immutable
attribute, nounlink
only prevents a file from being deleted or renamed. The file can still be changed by applications or by users.
For some examples, see the following blog entry.