mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-12-27 09:58:30 +01:00
fix typo
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
6dd8503d06
commit
2937d3a638
1 changed files with 3 additions and 1 deletions
|
@ -2007,9 +2007,11 @@ find . \! -group <group>
|
||||||
###### Looking for files/directories that only have certain permission
|
###### Looking for files/directories that only have certain permission
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# User:
|
# User
|
||||||
find . -user <username> -perm -u+rw # -rw-r--r--
|
find . -user <username> -perm -u+rw # -rw-r--r--
|
||||||
find /home -user $(whoami) -perm 777 # -rwxrwxrwx
|
find /home -user $(whoami) -perm 777 # -rwxrwxrwx
|
||||||
|
|
||||||
|
# Group:
|
||||||
find /home -type d -group <group> -perm 755 # -rwxr-xr-x
|
find /home -type d -group <group> -perm 755 # -rwxr-xr-x
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue