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:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Parse Unix file permissions.
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 | | +---------+-------+-------+-------+
Last updated
Was this helpful?