[artix-general] setcap assign permanently

Xavier B. somenxavier at posteo.net
Sat Sep 9 10:26:15 CEST 2023


Mmmm... I desired more "definitive" solution ;-)
Anyway, thanks


On Fri, 8 Sep 2023 21:56:08 +0000 (UTC)
Q <qontinuum at artixlinux.org> ha escrit:

> 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


More information about the artix-general mailing list