Trusted Solaris User's Guide

Tour: Moving Files Between File Managers with Different Labels

The Trusted Solaris environment lets you change a file's label, provided you have the proper authorizations and are permitted to work in multilevel sessions. To make a file available in a different workspace you need to (1) make sure it is not in use, (2) display both the source and destination File Managers with different labels in the same workspace, and (3) use drag-and-drop techniques as follows:

  1. Close both Text Editor windows and open the File Manager windows.

    The file whose label is to be modified should be closed when you make the change--this is a good practice whenever you are changing a file's label. At this point, the workspace should appear as shown below.

    Figure 3-18 Displaying File Managers at Different Labels

    Graphic

  2. Select textfile.2 in the File Manager at [SECRET A B], drag it to the File Manager at [CONFIDENTIAL A B], and drop it.

    This causes the File Manager Confirmation dialog box in to be displayed (see figure below).


    Note -

    If your system is not configured to permit upgrading or downgrading labels, a dialog box will be displayed stating that the transfer is not authorized.


    Figure 3-19 File Manager Confirmation Dialog Box

    Graphic

    This dialog box is similar but not the same as the Selection Manager Confirmation dialog box. It has the following areas:

    • Window stripe - contains the label which dominates in a comparison of the destination File Manager and the transferred data (there is no window stripe on the Selection Manager Confirmation dialog box).

    • Transaction information area - describes why confirmation of the transaction is needed.

    • Source file information area - identifies the path to the file, label information, and the owner of the source file (the Selection Manager does not identify a source file).

    • Destination file information area - identifies the path to the file, the potential CMW label, and the owner of the destination file (the Selection Manager does not identify a destination file).


      Note -

      Although the File Manager Confirmation dialog box does not display the single-level directory name in either the source or destination paths, the file will actually move from the single-level directory at the source label to the single-level directory at the destination label.


    • Selection data area - identifies the type of file selected for the label change, how you wish to view it, and its size in bytes. You can view the file's data in text or hexadecimal format in the scrollable display field or choose None and hide it altogether. Resetting the View As menu affects the displays of subsequent transfers. Choosing None is useful for selections that consist of unreadable data.

  3. Click the Apply button in the File Manager Confirmation Dialog Box to confirm your choice and close the dialog box.

    This is the end of the regular tour. See Chapter 4, Elements of the Trusted Solaris Environment, for detailed descriptions of the features in the Trusted Solaris environment.