~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH] main/doas: set doas.conf to mode 500

Details
Message ID
<20210702121233.17592-1-sir@cmpwn.com>
DKIM signature
missing
Download raw message
Patch: +2 -2
---
Closes #12687

 main/doas/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/doas/APKBUILD b/main/doas/APKBUILD
index 4afb74d34d..120a15e19f 100644
--- a/main/doas/APKBUILD
+++ b/main/doas/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=doas
pkgver=6.8.1
pkgrel=1
pkgrel=2
pkgdesc="OpenBSD's temporary privilege escalation tool"
url="https://github.com/Duncaen/OpenDoas"
arch="all"
@@ -38,7 +38,7 @@ package() {
	# Uncomment to allow group "wheel" to become root
	# permit persist :wheel
	EOF
	chmod 440 "$pkgdir"/etc/doas.conf
	chmod 500 "$pkgdir"/etc/doas.conf
}

sha512sums="d96fe1cdd70e9211de9996ad05bcf7a127facd02af48f7ab2561869d9d16708f1b61722c6e6b9fe15a62e9ef501e09b1ba444b7b43a066f1895e543ebc9402e7  doas-6.8.1.tar.gz"
-- 
2.32.0
Michael Forney <mforney@mforney.org>
Details
Message ID
<CAGw6cBu5B3K2kYqgT8yckZVJ3pV72aQyaLAVnfOQ5A-p_1dzzg@mail.gmail.com>
In-Reply-To
<20210702121233.17592-1-sir@cmpwn.com> (view parent)
DKIM signature
missing
Download raw message
On 2021-07-02, Drew DeVault <sir@cmpwn.com> wrote:
> -	chmod 440 "$pkgdir"/etc/doas.conf
> +	chmod 500 "$pkgdir"/etc/doas.conf

I think you intended 600 (rw-------). 500 is r-x------.
Details
Message ID
<CCJ1A2SR9BVV.29SMWKILWMO2A@taiga>
In-Reply-To
<CAGw6cBu5B3K2kYqgT8yckZVJ3pV72aQyaLAVnfOQ5A-p_1dzzg@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Gah. Thanks for catching that.
Reply to thread Export thread (mbox)