Table of ContentsView in Frames

Deleting a WORM file using privileged delete

You can use the privileged delete feature to delete a WORM file in a SnapLock Enterprise volume before the expiry date of the file is reached. This functionality is supported only for SnapLock Enterprise volumes.

Steps

  1. Configure a SnapLock log volume by using the following command: snaplock log volume volume-name
    where volume-name is the name of the SnapLock Compliance volume that you want to use for SnapLock logging.
  2. In the SnapLock Enterprise volume, create a file with a retention period of, for example, 30 years by using the following command: touch -a -t [[CC]YY]MMDDhhmm[.ss] filename
    Example
    touch -a -t 203811210600 document.txt
    The retention period of the document.txt file is set to 30 years.
  3. Enable privileged delete functionality on the SnapLock Enterprise volume by using the following command: snaplock options volume-name privdel on
  4. Create a user with compliance capabilities by using the following command:useradmin user add user_name -g "Compliance Administrators"
    user_name is the user name for the new user.
    Note: To assign a user to the Compliance Administrators group, ensure that the telnet.distinct.enable option is set to on.
  5. Log in to SSH session and delete the file by using the following command: snaplock privdel [-f] path
    The -f flag allows the command to proceed without interactive confirmation from the user.
    Note: Only a privileged user can perform the privileged delete operation. The user should be part of the "Compliance Administrators" group.
  6. Check the log entry for this delete operation.