GETCAP(8) System Manager's Manual GETCAP(8)NAME
getcap - examine file capabilities
SYNOPSIS
getcap [-v] [-r] [-h] filename [ ... ]
DESCRIPTION
getcap displays the name and capabilities of each specified
OPTIONS -r enables recursive search.
-v enables to display all searched entries, even if it has no file-capabilities.
-h prints quick usage.
filename
One file per line.
SEE ALSO cap_get_file(3), cap_to_text(3), setcap(8)
12 Nov 2007 GETCAP(8)
Check Out this Related Man Page
SETCAP(8) System Manager's Manual SETCAP(8)NAME
setcap - set file capabilities
SYNOPSIS
setcap [-q] [-v] (capabilities|-|-r) filename [ ... capabilitiesN fileN ]
DESCRIPTION
In the absence of the -v (verify) option setcap sets the capabilities of each specified filename to the capabilities specified. The -v
option is used to verify that the specified capabilities are currently associated with the file.
The capabilities are specified in the form described in cap_from_text(3).
The special capability string, '-', can be used to indicate that capabilities are read from the standard input. In such cases, the capabil-
ity set is terminated with a blank line.
The special capability string, '-r', is used to remove a capability set from a file.
The -q flag is used to make the program less verbose in its output.
EXIT CODE
The setcap program will exit with a 0 exit code if successful. On failure, the exit code is 1.
SEE ALSO cap_from_text(3), cap_set_file(3), getcap(8)
24th October 2008 SETCAP(8)
Sorry if I posted 2 separate questions.
I'm currently doing socket programming on my current task. As you can see below in the client side. I've tried to do a loop so I will be able to get prompt for input over and over again.
This is the code.
do{
printf("Please your name > ");... (10 Replies)
Hey guys got a slight problem here, I kindda new to socket programming in C so I need some guide on how to store something like this in a variable.
printf ("%s Name : %s\n", id,getNAME(name));
name is declared as name.
The getName is a function.
So what I'm... (7 Replies)
ISSUE: The system is unable to register with Redhat network (RHN).
SYSTEM DETAILS: RHEL6 (2.6.32-131.2.1.el6.x86_64). The firewall is turned off. I have network connectivity. There is no GUI. All work is done from the command line.
The following files are installed:... (4 Replies)
I wonder if anyone could assist with some problems I'm having with Linux Capabilities and their use when using the commands "nice" and "schedtool".
I run a couple of PCs, one is an elderly AMD Sempron 2800+ (32-bit, 2GHz clock and 3GB memory) that is used as a family multimedia system running... (3 Replies)
Quite an obscure question I think.
We have a rebuild process for remote sites that allows us to PXE rebuild a till (actually a PC with a touch screen and various fancy bits) running CentOS. The current CentOS5 tills work just fine with a tar image restore and some personalisation. Sadly,... (4 Replies)