MgErr FSetAccessRights(path, owner, group, permPtr);
Sets access rights information for the specified file or directory. If an error occurs, no information changes.
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. |
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 |
---|---|
noErr | No error. |
mgArgErr | 1 |
fIOErr | 6 |
fNotFound | 7 |