SetFilePermissions
Description: |
baSetFilePermissions sets the UNIX permissions of a file. | ||||||||||||
Platforms: |
Macintosh | ||||||||||||
Usage: |
Result = baSetFilePermissions( FileName, User, Permissions ) | ||||||||||||
Arguments: |
String, string, string.
|
||||||||||||
Returns: |
Integer. Returns 1 if successful, else 0. |
||||||||||||
Examples: |
Director: Authorware: |
||||||||||||
Notes: |
The file permissions will be set to what you pass in "rw"
will set the read and write
If you pass in a plus sign as the first character, then the permissions will
be added If you pass in a
minus sign as the first character, then the permissions will be removed from
the present permissions – "wx" To set the permissions of a folder, you need to
make sure that the folder name ends with a folder separator ( : or / ). |
||||||||||||
See also: |
baFilePermissions |