You can set a global option that determines how long a file must remain unchanged in the SnapLock volume before it is committed to the WORM state.
$ stat * File: "new.txt" Size: 11 Blocks: 0 IO Block: 8192 Regular File Device: 1eh/30d Inode: 1512 Links: 1 Access: (0664/-rw-rw-r--) Uid: (15883/ djv) Gid: ( 30/ engr)
$ stat * File: "new.txt" Size: 11 Blocks: 0 IO Block: 8192 Regular File Device: 1eh/30d Inode: 1512 Links: 1 Access: (0444/-r--r--r--) Uid: (15883/ djv) Gid: ( 30/ engr)
After the SnapLock retention period has elapsed, no changes will be made to the file. The file will continue to look as it does in this example. If you want to delete the file, you must manually change permissions to read-write after the retention period has ended. There is no automatic reset feature.