PreviousNext

acl delete

Deletes all ACL entries from the object, except the user_obj entry, if it exists. The syntax is:

acl delete acl_name_list [-ic | -io | -entry] [-type manager_type_name] [-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 principal names that also act as directories (see Description).

-local
Specifies that the command is to operate on the ACL of a dced object while the dced on the local machine is in partial service mode.

Description
The acl delete operation removes all ACL entries from the object, except the user_obj entry, if it exists. Note that if you use delete on an object whose ACL does not contain a user_obj ACL entry (either because the object's ACL Managers do not support a user_obj entries or because the ACL is empty), the command displays a "bad syntax" error.

The argument is a list of names of ACLs to be operated on. 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.

Example

dcecp> acl delete {/.:/hosts/oddball/gumby /.:/pokey}
dcecp>