getcap: add -r example (#8691)

pull/1/head
Prateek Kumar Nischal 2022-10-03 17:31:45 +05:30 committed by GitHub
parent 0a7b28c8e5
commit 5bc1dfb9ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@
`getcap {{path/to/file1 path/to/file2 ...}}`
- Get capabilities for all the files recursively under the given directories:
`getcap -r {{path/to/directory1 path/to/directory2 ...}}`
- Displays all searched entries even if no capabilities are set:
`getcap -v {{path/to/file1 path/to/file2 ...}}`