Parse Unix file permissions

Description

This operation is used to interpret and analyze standard Unix file permission strings (e.g., -rwxr-xr--) and provide a detailed breakdown of the permissions, including their binary and octal representations. You can also enter the code formats to get the Unix file permission strings.


Data types

These are the input/output expected data types for this operation:

Input data

- Unix-style file permission strings or codes you want to analyze.

Output data

- Details of the provided Unix file permission strings/codes.


Example

Suppose you want to analyze a series of Unix file permission strings in your input data:

  1. In your Pipeline, open the required Action configuration and select the input Field.

  2. In the Operation field, choose Parse Unix file permissions.

  3. Give your Output field a name and click Save. The values in your input field will be decoded.

For example, for the following Unix file permission string:

-rwxr-xr--

you'll get the following breakdown:

Textual representation: -rwxr-xr-- Octal representation: 0754 +---------+-------+-------+-------+ | | User | Group | Other | +---------+-------+-------+-------+ | Read | X | X | X | +---------+-------+-------+-------+ | Write | X | | | +---------+-------+-------+-------+ | Execute | X | X | | +---------+-------+-------+-------+

You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.

Last updated

Was this helpful?