FilePermissions
Description: |
baFilePermissions returns the UNIX permissions of a file or folder. | ||||||
Platforms: |
Macintosh | ||||||
Usage: |
Result = baFilePermissions( FileName, User ) | ||||||
Arguments: |
String, string.
|
||||||
Returns: |
String. Returns a string containing all the file permissions that are set. Can be a combination of:
|
||||||
Examples: |
Director: Authorware: |
||||||
Notes: |
You can use the Director contains or Authorware Find
functions to test whether a if Find( "r", baFilePermissions( File ) ) <> 0 then file has read access if baFilePermissions( Filename ) contains "r" then file has
read access |