Get Permissions Function

Owning Palette: Advanced File VIs and Functions

Requires: Base Development System

Returns the owner, group, and permissions of the file or directory specified by path. This function does not work for files inside an LLB.

Details  

 Add to the block diagram  Find on the palette
path specifies the file or directory whose access rights you want to change.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
permissions contains the current permissions setting for the file or directory after this function executes.
path out returns path unchanged.
owner contains the current owner setting for the file or directory after this function executes.
group contains the current group setting for the file or directory after this function executes.
error out contains error information. This output provides standard error out functionality.

Get Permissions Details

Refer to Setting Permissions for more information about the permissions parameter.

(Windows) This function returns empty strings for owner and group because Windows does not support owners and groups.

(macOS) If path refers to a file, this function returns empty strings for owner and group because macOS does not support owners or groups for files.