Get file permissions.
On Windows, if the file does not have the FILE_ATTRIBUTE_READONLY attribute, all_all will be returned. Otherwise, all_read | all_exe will be returned.
the permissions if they were successfully retrieved, otherwise a platform-specific error_code.
| Name | Description |
|---|---|
| Path | File to get permissions from. |