- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
trimstray 2020-02-25 08:18:22 +01:00
parent 6dd8503d06
commit 2937d3a638

View File

@ -2007,9 +2007,11 @@ find . \! -group <group>
###### Looking for files/directories that only have certain permission
```bash
# User:
# User
find . -user <username> -perm -u+rw # -rw-r--r--
find /home -user $(whoami) -perm 777 # -rwxrwxrwx
# Group:
find /home -type d -group <group> -perm 755 # -rwxr-xr-x
```