PreviousNext

acl replace

Replaces the entire ACL on the object specified by the argument, with the supplied value. The syntax is:

acl replace acl_name_list [-ic | -io | -entry] [-type manager_type_name]
-acl acl_entry_list [-cell new_default_cellname] [-local]

Options

-ic
Specifies that the command is to operate on the initial container ACL of the named object.

-io
Specifies that the command is to operate on the initial object ACL of the named object.

-entry
Specifies that the command is to operate on the ACL of the namespace entry of the object.

-type manager_type_name
Specifies that the command uses a particular ACL manager. This option is needed only for objects that have more than one purpose, such as for principal names that also act as directories (see Description).

-acl acl_entry_list
Specifies ACL entries and their new values

-cell new_default_cellname
Specifies a new default cell for all the ACLs named in acl_entry_list. The -cell option is always applied before the other options.

-local
Specifies that the operation act on the ACL of a dced object while the dced on the local machine is in partial service mode.

Description
The acl replace operation replaces the entire ACL on the object specified by the argument with the supplied value. The argument is a list of names of ACLs to be operated on. The syntax of the value of the -acl option is a list of ACL entries. The -cell option specifies the new default cell of the ACL. Its value is the name of one cell only (it is not a list). This operation returns an empty string on success.

Privileges Required
The permissions required are defined by the object's ACL Manager. Use the permissions operation to display the currently available tokens and their meanings. See the documentation for the DCE component you are using to obtain a more detailed description of its specific permissions.

Examples

dcecp> acl replace /.:/host -acl {group dce rwdtcia}
dcecp>