GetFilePermissions
Retrieves a file or directories permissions.
native bool GetFilePermissions(const char[] path, int& mode)
Parameters
const char[] path
Path to the file.
int& mode
Variable to store the permissions in.
Return Value
bool True on success, false otherwise.