LSACL Command


HSI Version: 

4.0.1.3+

Purpose: 

Display HPSS Access Control List entries for files and directories

Aliases: 

 

Command Format: 

 lsacl [-A] [-e] [-ic] [-io] [-R] filelist
                

Options: 

  -A : display absolute pathnames in messages

  -e : Show the effective permissions after applying any mask object

  -ic : show the Initial Container ACL (only applies to directories)

  -io : show the initial object ACL (only applies to directories)

  -R : If specified, recursively lists ACLs for subdirectories

  -filelist : a space-delimited list of one or more paths to be listed. Pathnames can contain wildcard characters.

Keywords: 

 

Usage Notes: 

HPSS ACLs were originally based on the the Distributed Computing Environment (DCE), and are of the general form:

            type:key:perms
where:
"type" is one of the standard DCE ACL types, such as user, group, user_obj, group_obj, etc.
"key" is of the general form principal@realm, but may be different depending on the ACL type.
"perms" are made up of the letters "rwxcid" for read, write, execute, control, insert and delete.

See the Access Control List (ACL) section of this reference manual for more information on HPSS ACLs.


  • Both -ic and -io can be specified for this command unlike the "chacl" command, which only operates on one ACL type per command.

  • The cp command provides an option for copying ACLs .

  • This command is only available when communicating with an HPSS server. It is not available in the non-HPSS gateway

Examples: 

  1. List all of the ACL entries for files whose names end with ".tar"
    lsacl *.tar
    
  2. List the Initial Container ACL for subdirectories Project1, Project2 and Project3
    lsacl -ic Project[123]      
    
  3. Recursively list all of the object ACL entries for the files in directory Laser3
    lsacl -R Laser3
    

Related Command(s): 

  chacl command, cp command ACL options -c,-ic,-io