FileLib Xojo and Real Studio plugin

SetUnixPermissions Method

To set the unix file permissions of a file on a unix based system (MacOS X or a Linux system) then use the SetUnixPermissions method.

SetUnixPermissions(
   f as FolderItem,
   permissions as UnixPermissions)

Parameters

f
A valid FolderItem pointing to a file.
permissions
A valid instance of the UnixPermission class that is representing the permissions to set.

Remarks

PPC and Windows systems have no concept for unix file permissions so this method is not supported on those systems. It is perfectly valid to call this method on the unsupported platforms but it will not do anything of use there.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa
  • Linux x86

    Unsupported Platforms:

  • Win32 - Windows

    See Also

    GlobalMethods Global