FSetAccessRights (LabVIEW Manager Function)

MgErr FSetAccessRights(path, owner, group, permPtr);

Purpose

Sets access rights information for the specified file or directory. If an error occurs, no information changes.

Parameters

Name Type Description
path Path Path of the file or directory for which you want to set access rights information.
owner PStr New owner that FSetAccessRights sets for the file or directory if owner is not NULL.
group PStr New group that FSetAccessRights sets for the file or directory if group is not NULL.
permPtr int32 * Address of new permissions that FSetAccessRights sets for the file or directory if permPtr is not NULL.

Return Value

MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1
fIOErr6
fNotFound7