LSACL(1) Domain/OS BSD LSACL(1)
NAME
lsacl - list access control list
SYNOPSIS
lsacl [ -odfsvmnlaLR ] file . . .
DESCRIPTION
If you do not specify an option, lsacl shows the access control list
(ACL) associated with the files and directories specified. It lists
entries one per line in the following format:
%.%.% prwxk
where %.%.% represents a subject identifier (SID) in
person.group.organization form, and prwxk represents a set of rights. If
one of the letters prwxk appears, the associated right is present, if a -
appears, it isn't. See acl(7) for more information about access rights.
If you specify more than one file, the ACL is preceded by the filename.
OPTIONS
-o Lists the ACL associated with the specified objects. This is
default if you do not specify an option.
-d Shows how new sub-directories created in the specified
directory will inherit their protections. (This output is also
known as the initial directory ACL.)
-f Shows how new files created in the specified directory will
inherit their protections. (This output is also known as the
initial file ACL.)
-s Lists any sub-system information. Protected sub-systems are an
Aegis analogue to setuid programs, and you should use the
commands available in the Aegis environment to manipulate them.
This option is provided so that UNIX users can be aware of
files that use the feature.
-v Selects verbose output. In this mode, each ACL (object,
initial file and initial directory) is preceded by a label.
-m Shows the rights mask for extended ACL entries. By default,
this information is not shown.
-n Shows the node/network access rights.
-l Shows a long listing, equivalent to selecting all the above
options.
-a Shows all bits in the rights field, rather than showing
[ignore] and [umask]. See chacl(1) for a description of these
bits.
-L Directs lsacl to follow any soft links encountered, and operate
on the object to which the link points. Since soft links in
Domain/OS do not have ACLs, attempting to change or display the
ACL on a link without the -L flag simply results in a warning.
-R Recursively lists the ACLs of any directories specified on the
command line.
Only directories have additional fields relating to inheritance of
protections for new sub-directories and files. If you specify a non-
directory with either the -d or -f option, lsacl ignores them for that
object.
SEE ALSO
chacl(1), cpacl(1), dbacl(1), chmod(1), chgrp(1), chorg(1), ls(1),
umask(2), acl(7), chown(8), salacl(8)