Skip to content

Using the rwx options

gmnsii edited this page Mar 27, 2022 · 6 revisions

The --user option

What is it used for ?

The user option allows you to filter your files based on the permissions the owner of the file has on the file.

How to use it ?

The syntax is as follows:

permscan --user @rwx

The --group option

What is it used for ?

The user option allows you to filter your files based on the permissions the group that owns the file has on the file.

How to use it ?

The syntax is as follows:

permscan --group @rwx

The --other option

What is it used for ?

The user option allows you to filter your files based on the permissions the users that does not own the file has on the file.

How to use it ?

The syntax is as follows:

permscan --other @rwx

Wildcards ?

The @rwx format supports wildcards ? just place one in your expression and it might be any of the rwx- charcaters.

Examples

Here are some examples:

permscan --user @rwx
permscan --group @r-x
permscan --other @-?x

Why is there a @ before rwx ?

We require a @ before the rwx format because if you enter a rwx format like this one: --x or this one :-wx (one that starts with a -) the input might be detected as a command flag or option

Clone this wiki locally