Find files or directories owned by user/group and permission bits Find all files not owned by user
1 |
find dirPath ! -user {user-name} |
Find all files not owned by group
1 |
find dirPath ! -group {group-name} |
Find all files that don’t have specific permissions
1 |
find dirPath ! -perm {perm-bits} |
Examples: Find all files that don’t have 755 permissions
1 |
find dirPath ! -perm 755 |
Combine all parameters: Find all python files […]