[artix-general] setcap assign permanently

Q qontinuum at artixlinux.org
Fri Sep 8 23:56:08 CEST 2023


Hey,

I don't know what owns this file but capabilities are set on the files so if the file is replaced during an upgrade, the capability is obviously removed.

I guess the most reliable solution would be to use pacman hooks.

2023-09-08T20:31:28Z Xavier B. <somenxavier at posteo.net>:

> I need to run
> 
> # setcap cap_net_bind_service=+pe /usr/bin/dnscrypt-proxy
> 
> in order to dnscrypt-proxy work.
> 
> But after openrc package upgrade, I have to do another time.
> Is there anyway to assign this capability *permanently* in artix after eventual packages upgrades?
> 
> Thanks in advance,
> Xavier

-- 
Q
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20230908/0be77b33/attachment.sig>


More information about the artix-general mailing list