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.
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:
Carbon - MacOS 9 and MacOS X (PEF)MacOS X PPC - (Mach-O)MacOS X Universal Binary (Mach-O)Linux x86Unsupported Platforms:
PPC - MacOS 9Win32 - Windows
See Also
GlobalMethods Global