On 10/11/17 16:47, [email protected] wrote:

Thanks a lot, I should have thought of it myself, I must be tired today.

Is there a difference between
setcap cap_net_raw+ep

and
%caps(cap_net_raw=p)

I can't seem to locate a correct setcap or %caps() reference

I imagine you want =ep to make it the same?

Assuming it's like chmod then +ep adds the e and p flags while =ep would set the flags to exactly that.

Obviously in the context on installing an rpm adding flags doesn't make sense, you just want to specify what they should be.

Full details are in cap_from_text(3) by the looks of it.

Tom

--
Tom Hughes ([email protected])
http://compton.nu/
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to