7.2.8 lsacl

Display the access control list (ACL) for files or vaults.

Syntax

lsacl [{ -w | --wallet } wallet-location ] [{ -T | --trace } trace-level ]
        [ file-name | vault-name ]...

Command Options

The options for the lsacl command are:

  • [ file-name | vault-name ]...: Specifies the name of the file(s) or vault(s) that is the subject of the operation.

    A wildcard (%) is permitted when specifying a file name.

  • -w, --wallet: Optionally specifies the path to the Exascale wallet directory.

  • -T, --trace: Optionally enables tracing and sets the trace level to 1 (minimum tracing), 2 (medium tracing), or 3 (maximum tracing).

    If the $ADR_BASE environment variable is set, the trace file is written to:

    $ADR_BASE/diag/EXC/xsh_<username>/<hostname>/trace/xsh_<date>.trc

    Otherwise, the trace file is written to:

    /tmp/diag/EXC/xsh_<username>/<hostname>/trace/xsh_<date>.trc

Examples

Example 7-12 Display a File ACL

The following command shows the ACL string for the file named @VAULT/myfile1.

$ xsh lsacl @VAULT/myfile1

Example 7-13 Display File ACLs Using a Wildcard

The following command shows the ACL string for all files in @VAULT having names starting with myfile.

$ xsh lsacl @VAULT/myfile%