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


aclset

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

Read syntax diagramSkip visual syntax diagram
>>-aclset--variable--pathname--acltype-------------------------><

Function

aclset replaces the access control list (ACL) associated with pathname with the ACL represented by variable.

Parameters

variable
The name of a REXX variable that contains a token to access an ACL.
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

Example

This example replaces the directory default ACL:

 "aclset tokenvar /u/dept58" acl_type_dirdefault 

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