Table of ContentsLibraryView 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 expiration date of the file is reached. This functionality is supported only for SnapLock Enterprise volumes.

Before You Begin

You need to configure a SnapLock log volume before enabling the privileged delete functionality. The log volume must be a SnapLock Compliance volume.

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 203811210600 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. 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 activity. The user should be part of the "Compliance Administrators" group.

  5. Check the log entry for this delete operation.