z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


acldelete

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-acldelete--pathname--acltype--------------------------------><

Function

acldelete deletes an access control list (ACL) associated with pathname.

Parameters

pathname
The pathname of the file or directory the ACL is associated with.
acltype
Indicates the type of ACL. This parameter can have the following values:
Variable Description
ACL_TYPE_ACCESS (1) An access ACL
ACL_TYPE_FILEDEFAULT (2) A file default ACL
ACL_TYPE_DIRDEFAULT (3) A directory default ACL

Usage notes

  1. For regular files, the acltype must indicate it is an access ACL that is to be deleted.
  2. For a directory, the acltype must indicate one of the three types of ACLs (access, file default, or directory default).

Example

To delete the access ACL from the /tmp directory, this example assumes the user has set the appropriate stem variable before the call:
"acldelete /tmp/ acl." acl_type_access

For a complete example that uses several of the ACL services to list ACLs, see List the ACL entries for a file.

For more information about access control lists, see Using access control lists (ACLs) in z/OS UNIX System Services Planning.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014