Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 369C0223785 for <~alpine/users@lists.alpinelinux.org>; Mon, 5 Jun 2023 10:03:36 +0000 (UTC) Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4QZThR03BQz9tP2 for <~alpine/users@lists.alpinelinux.org>; Mon, 5 Jun 2023 10:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1685959415; bh=3esk6Q7A4xXzcxtxdn69MOLqYJywSITpSGQ9U9Qzb1Y=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Xt14LuieWzpuVrvKP/oHtaH4MvXwhlh70W7tueoXj3b+Joc8bA4z1ONvlRJYbXKxH J53emgiAU6Zns0kqagL3cuRkQfKCRP/lQ/F9nUlyVVJ9aS1rATU7Op633yXN4HX+m3 hA7o1i/hfeYgVfK/FuM4cXb0l7AXdqEBee2I6KWs= X-Riseup-User-ID: 74F68BF616951BFA3B3AF3B4B44625DB52AC1A3939982349CE5494584EA76185 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QZThQ2bFjzFpxf for <~alpine/users@lists.alpinelinux.org>; Mon, 5 Jun 2023 10:03:34 +0000 (UTC) Message-ID: <44086969134f41e7100e8301f10eb875a7ea2271.camel@riseup.net> Subject: Re: Does an apk feature exist similar to deb's dpkg-divert or pacman.conf's NoExtract? From: Ralf Mardorf To: ~alpine/users@lists.alpinelinux.org Date: Mon, 05 Jun 2023 12:03:31 +0200 In-Reply-To: <80d4ec57e741f0a1eb9109f6dabe75a5d437c7e5.camel@riseup.net> References: <80d4ec57e741f0a1eb9109f6dabe75a5d437c7e5.camel@riseup.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Mon, 2023-06-05 at 11:57 +0200, Ralf Mardorf wrote: > IIUC it is possible to protect paths by /etc/apk/protected_paths.d/, but > not certain files. PS: OTOH the content of the files in /etc/apk/protected_paths.d/ seems to be protected files. Internet search engines return ambiguous information related to this topic.