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


icon

Inputs/Outputs

  • ci16.png permissions —

    permissions specifies the new permissions setting for the file or directory.

    Refer to Setting Permissions for more information about how to define the permissions you want to set.
  • cpath.png path —

    path specifies the file or directory whose access rights you want to change.

  • cstr.png new owner —

    new owner specifies the new owner for the file or directory.

    If new owner is an empty string, the VI does not set the owner.
  • cstr.png new group —

    new group specifies the new group for the file or directory.

    If new group is an empty string, the VI does not set the group.
  • cerrcodeclst.png error in —

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ipath.png path out —

    path out returns path unchanged.

  • ierrcodeclst.png error out —

    error out contains error information. This output provides standard error out functionality.

  • If you do not specify new owner, new group, or permissions, this function returns the current settings unchanged.

    (Windows) This function ignores new owner and new group because Windows does not support owners and groups.

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