File.getPerms
$path.getPerms() -> map
Description
Return a Map of permissions with the following keys, each with a boolean value:
read
write
execute
The permissions are based on the user account the webserver is running as.
file'files:/myFile.txt'.getPerms() // { // read: true // write: true // execute: false // }