File path sensors · GraphQL type

FilePermission type

The read / write / execute permission triad for one permission class (owner, group, or other) of a file mode.

Fields

Field Name Description
read - Boolean! True when the class may read the file (or, on a directory, list its entries).
write - Boolean! True when the class may modify the file (or, on a directory, create / delete / rename entries).
execute - Boolean! True when the class may execute the file (or, on a directory, traverse into it).

Used by

  • PosixFileMode type: A file's POSIX permission bits decoded into several complementary forms.

Example

Example

{"read": false, "write": true, "execute": true}