7.2.10 lsacl

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

Syntax

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

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, with the trace level (trace-level) set to 1 (minimum tracing), 2 (medium tracing), or 3 (maximum tracing). If the trace level is not specified, then minimum tracing is enabled by default.

    The trace file is written to the first accessible location in the following list:

    1. If the $ADR_BASE environment variable is set:

      $ADR_BASE/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
    2. /var/log/oracle/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
    3. /tmp/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
  • -j, --json: Displays the output in JSON format.

  • --compact: Displays JSON formatted output in a compact format, without white space and line breaks.

Examples

Example 7-21 Display a File ACL

The following command shows the ACL string for the file named @vault2/my-file1.

$ xsh lsacl @vault2/my-file1

Example 7-22 Display File ACLs Using a Wildcard

The following command shows the ACL string for all files in @vault2 having names starting with my-file.

$ xsh lsacl @vault2/my-file%