To get the unix file permissions from a file on a unix based system (MacOS X or a Linux system) then use the GetUnixPermissions function.
PPC and Windows systems have no concept for unix file permissions so this function is not supported on those systems. It is perfectly valid to call this function on the unsupported platforms but it will not do anything of use there.