Go to main content

Trusted Extensions User's Guide

Exit Print View

Updated: October 2017
 
 

How to Upgrade Data in a Multilevel Dataset

Multilevel datasets in Trusted Extensions ease the task of relabeling files. For more information about multilevel datasets, see Multilevel Datasets for Relabeling Files in Trusted Extensions Configuration and Administration.

Before You Begin

You must be authorized to relabel files. You can operate at two or more labels, one of which dominates the other.

A multilevel dataset is mounted in at least one of the labeled zones, and the mount name is identical, such as /multi, in every zone that mounts the dataset.

You must be logged in to a multilevel session.

  1. Create a workspace at the higher label.

    For example, to upgrade a file from PUBLIC to INTERNAL, create a workspace at the INTERNAL label.

    For details, see How to Add a Workspace at Your Minimum Label.

  2. Open a terminal window and list the directory that contains the file to be upgraded.

    In this example, the filename is temppub1.

    $ ls /multi/public
    temppub1
  3. Relabel the file.
    $ setlabel "cnf : internal" /multi/public/temppub1
  4. Verify the label change.
    $ getlabel  /multi/public/temppub1
    /multi/public/temppub1: "CONFIDENTIAL : INTERNAL USE ONLY"
  5. (Optional)Move the file to a directory at the target label.
    $ mv /multi/public/temppub1 /multi/internal/temppub1