Access permissions for a given file
file.permissions MQL resource for querying Operating System infrastructure with cnquery and cnspec.
Operating SystemPrivate Resource
Access permissions for a given file
Min version: 5.15.0Defaults:
stringRelationships
3 resources · 2 relationships·Click to select, expand fields to see properties.
Fields (17)
| Field | Type | Description |
|---|---|---|
group_executablerequired | int | Whether the file is executable by members of the group |
group_readablerequired | int | Whether the file is readable by members of the group |
group_writeablerequired | int | Whether the file is writeable by members of the group |
isDirectoryrequired | int | Whether the file describes a directory |
isFilerequired | int | Whether the file describes a regular file |
isSymlinkrequired | int | Whether the file is a symlink |
moderequired | int | Raw POSIX mode for the permissions |
other_executablerequired | int | Whether the file is executable by others |
other_readablerequired | int | Whether the file is readable by others |
other_writeablerequired | int | Whether the file is writeable by others |
sgidrequired | int | SGID bit indicator |
stickyrequired | int | Sticky bit indicator |
string | string | A simple printed string version of the permissions |
suidrequired | int | SUID bit indicator |
user_executablerequired | int | Whether the file is executable by its owner |
user_readablerequired | int | Whether the file is readable by its owner |
user_writeablerequired | int | Whether the file is writeable by its owner |