Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ attrinit(1M) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chacl(1)

chcap(1)

chlabel(1)



ATTRINIT(1M)                                                      ATTRINIT(1M)



NAME
     attrinit - Set file attributes

SYNOPSIS
     attrinit [-option[=value]]... [-attr=value]... [path]...

DESCRIPTION
     attrinit verifies or modifies the attributes associated with files.

OPTIONS
     -verify
          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
          checked.

          If this option is not specified the attributes are set.

     -script
          A script file named by value is read for additional directives.
          Each line of the script file must have the form

               -attr=value... path

          where valid attr and values are described below.  Any attr values
          which are specified on the command line override those in the
          script.

     -verbose
          Keep a running count of the fraction of the operation which has
          completed.

VERIFIABLE ATTRIBUTES
     These attributes may always be specified, but are only used for
     verification.  They are never changed by attrinit.

     -mode
          value specifies the file permission bits to look for.

     -user
          value specifies the user name or numeric user id of the file's
          owner.

     -group
          value specifies the group name or numeric group id of the file's
          owning group.

     -type
          Permitted values are directory (also d) tree (also t) file (also f)
          symlink (also l or link) fifo (also p or pipe) chardev (also c or



                                                                        Page 1





ATTRINIT(1M)                                                      ATTRINIT(1M)



          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
     These attributes may be specified for modification or verification.

     -mac Set the mandatory access control ( MAC ) label to the specified
          value.

     -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.

     -acldefault
          Set the default access control list of a directory to the specified
          value.

NOTES
     In most cases, chacl(1), chcap(1), or chlabel(1) should be used in
     preference to attrinit.

SEE ALSO
     chacl(1) chcap(1) chlabel(1)
     IRIX Advanced Site and Server Administration Guide.





























                                                                        Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026