---
title: FilePermission type | Wartiva GraphQL API
description: The read / write / execute permission triad for one permission class (owner, group, or other) of a file mode. Wartiva GraphQL API reference with examples.
url: https://wartiva.com/api-docs/types/file-permission.html
updated: 2026-10-07
---

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!`](https://wartiva.com/api-docs/types/boolean.html) | True when the class may read the file (or, on a directory, list its entries). |
| `write` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | True when the class may modify the file (or, on a directory, create / delete / rename entries). |
| `execute` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | True when the class may execute the file (or, on a directory, traverse into it). |

## Used by

- [`PosixFileMode`](https://wartiva.com/api-docs/types/posix-file-mode.html) type: A file's POSIX permission bits decoded into several complementary forms.

## Example

### Example

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

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
