Set the retention time for a file explicitly
You can set the retention time for a file explicitly by modifying its last access time. You can use any suitable command or program over NFS or CIFS to modify the last access time.
After a file has been committed to WORM, you can extend but not shorten the retention time. The retention time is stored in the
atime field for the file.
You cannot explicitly set the retention time of a file to
Use a suitable command or program to modify the last access time for the file whose retention time you want to set.
In a UNIX shell, use the following command to set a retention time of 21 November 2020 6:00 a.m. on a file named
touch -a -t 202011210600 document.txt
You can use any suitable command or program to modify the last access time in Windows.