mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-24 04:15:29 +00:00
fix typo
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
6dd8503d06
commit
2937d3a638
@ -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 New Issue
Block a user