File.getPerms
File.getPerms($path) -> map
Description
Return a Map of read/write/execute permissions for the given path.
The $path
is relative to the data/files
directory.
File.getPerms('myFile.txt') // { // read: true, // write: true, // execute: false, // }