attrinit - Set file attributes
attrinit [-option[=value]]... [-attr=value]... [path]...
attrinit verifies or modifies the attributes associated with files.
If value is installed don't set the attributes, just report any
differences between the attributes specified and those which are set
for each of the specified paths. Ignore paths which do not exist.
A value of all differs only in that paths which do not exist are
reported. If value is also the attributes are set after they are
If this option is not specified the attributes are set.
A script file named by value is read for additional directives.
Each line of the script file must have the form
where valid attr and values are described below. Any attr values
which are specified on the command line override those in the
Keep a running count of the fraction of the operation which has
VERIFIABLE ATTRIBUTES [Toc] [Back]
These attributes may always be specified, but are only used for
verification. They are never changed by attrinit.
value specifies the file permission bits to look for.
value specifies the user name or numeric user id of the file's
value specifies the group name or numeric group id of the file's
Permitted values are directory (also d) tree (also t) moldytree
(also m) file (also f) symlink (also l or link) fifo (also p or
pipe) chardev (also c or char) blockdev (also b , blk or block) and
socket (also s)
A special case is the value tree. If this is used the attribute and
value specified are applied to the tree rooted at path.
MODIFIABLE ATTRIBUTES [Toc] [Back]
These attributes may be specified for modification or verification.
-mac Set the mandatory access control ( MAC ) label to the specified
-cap Set the capabilities of the file to those listed in value.
-acl Set the access control list of the file to the specified value.
Set the default access control list of a directory to the specified
In most cases, chacl(1), chcap(1), or chlabel(1) should be used in
preference to attrinit.
IRIX Advanced Site and Server Administration Guide.
PPPPaaaaggggeeee 2222 [ Back ]