# Parse UNIX file permissions

Given a UNIX/Linux file permission string in octal or textual format, this operation explains which permissions are granted to which user groups. Input should be in either octal (e.g. `755`) or textual (e.g. `drwxr-xr-x`) format. Parse UNIX file permissions lives in the **Utils** category of the `fx` menu.

## Parameter

| Parameter | Type   | Required | Default | Description                                            |
| --------- | ------ | -------- | ------- | ------------------------------------------------------ |
| Input     | string | yes      | —       | Value to transform. Previous step output or a literal. |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                               |
| -------- | --------------------------------------------------------- |
| `string` | Result of the Parse UNIX file permissions transformation. |

## Example

<details>
<summary>Run Parse UNIX file permissions</summary>

Given a UNIX/Linux file permission string in octal or textual format, this operation explains which permissions are granted to which user groups. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform (previous step output or a literal).

2. Confirm **Output value** shows the transformed result.

</details>
