[artix-general] setcap assign permanently

Jeff Pohlmeyer yetanothergeek at gmail.com
Thu Jul 18 03:44:07 CEST 2024


On Wed, Jul 10, 2024 at 11:01 AM Xavier B. <somenxavier at posteo.net> wrote:
> > Note that the "Target" line in the hook file is missing the leading
> > slash. That is intentional.
>
> Why this is intentional?

Because that's how file paths are stored in tar archives. Pacman
examines the contents of the package tarball before
installing/upgrading to see if any targets match. If you include the
leading slash in your hook's Target, then the name won't match and the
hook won't run.

- Jeff


More information about the artix-general mailing list