The Schworak Site | Log In | Up A Level

8. System administration commands (usually only for root)

Enter a Linux command to search for:

GETCAP

Section: Maintenance Commands (8)
Updated: 2020-01-07
Index  |  Return to Main Contents
 

NAME

getcap - examine file capabilities  

SYNOPSIS

getcap [-v] [-n] [-r] [-h] filename [ ... ]  

DESCRIPTION

getcap displays the name and capabilities of each specified file.  

OPTIONS

-h
prints quick usage.
-n
prints any non-zero user namespace root user ID value found to be associated with a file's capabilities.
-r
enables recursive search.
-v
display all searched entries, even if the have no file-capabilities.
filename
One file per line.
 

REPORTING BUGS

Please report bugs via:
https://bugzilla.kernel.org/buglist.cgi?component=libcap&list_id=1047723&product=Tools&resolution=---
 

SEE ALSO

cap_get_file(3), cap_to_text(3), capabilities(7), user_namespaces(7), setcap(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
REPORTING BUGS
SEE ALSO

Return to Main Contents

All content on this site is copyright ©2004-2024 and is not to be reproduced without prior permission.