Skip to content

How to do setcap / add capabilities? #5036

Closed Answered by jlebon
ReenigneArcher asked this question in Q&A
Discussion options

You must be logged in to vote

Instead of using setcap in a scriptlet, specify it in the filelist using %caps. See e.g. https://src.fedoraproject.org/rpms/iputils/blob/7ca88c33e6e928bb19fdc12e38663bd750cfc6ea/f/iputils.spec#_73.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ReenigneArcher
Comment options

Answer selected by ReenigneArcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants