Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id B36AE782C1F for <~alpine/aports@lists.alpinelinux.org>; Fri, 2 Jul 2021 23:14:17 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1625267657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ioHF10uEP4mROBjr5iuPTlJmlKv3ClgFqluY5IndBlo=; b=MTzJR/xurqy09Sup4xMitnWwPOng8cL3oqTUfjkSQY5HQtjLKTVePqW+v7WU50Lbu6xx3v /VjWDEOdwIyu8kIoquJ/uEXnMtVsU4LMDva8fw38WnOj4otbT/K2yu1buxr8KjaTDpiDdI u54Jkb8j9zQyIJyzNKFJS06iC0FnO2yp145VR6eYnVEMQpO9nmIeEn9ckHnx1ikkiUWG6p VWxARIFRNHwAwB0Le5iqMC5lWVynQsjjdQZ0I6vHerxibh/QileFiWibJrwzDBv83UwW2z edkw+KSJCp/ijczLNMxBG2OAFi30ndca6edTPi7jtgDPpTnTgT2MRKLVHz4A8g== From: Drew DeVault To: ~alpine/aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [PATCH] main/doas: set doas.conf to mode 600 Date: Fri, 2 Jul 2021 19:14:15 -0400 Message-Id: <20210702231415.8109-1-sir@cmpwn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: sir@cmpwn.com The previous patch was incorrect. The desired mode is rw-------, not r-x-------. --- main/doas/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/doas/APKBUILD b/main/doas/APKBUILD index 120a15e19f..aee6c31792 100644 --- a/main/doas/APKBUILD +++ b/main/doas/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Drew DeVault pkgname=doas pkgver=6.8.1 -pkgrel=2 +pkgrel=3 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 500 "$pkgdir"/etc/doas.conf + chmod 600 "$pkgdir"/etc/doas.conf } sha512sums="d96fe1cdd70e9211de9996ad05bcf7a127facd02af48f7ab2561869d9d16708f1b61722c6e6b9fe15a62e9ef501e09b1ba444b7b43a066f1895e543ebc9402e7 doas-6.8.1.tar.gz" -- 2.32.0