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.
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.