Sets the Access Control List on a file resource by running the CACLS utility.
Access can be set for both files and directories and can be set for inheritable rights. You can assign either individual users or groups, but only one at a time. If you need to assign multiple users/groups you have to call this function more than once.
.T. or .F.
The directory or file where permissions are to be set.
The name of the user account to assign.
The type of access to set for this user or group.
N - None
R - Read
C - Change
F - Full
If .T. causes child objects to inherit this setting. Applies to directories only.
If .T. causes the ACL set to completely replace the access rights on this resource. In other words all other users/groups are removed and only this user is assigned. Unless you absolutely needs this leave this value set to .F.
This is a standalone function, not a method. This function requires administrative priviliges to allow change ACL settings on files and folders.
See also:Library wwUtils
Comment or report problem with topic