aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/alpine-baselayout/APKBUILD2
-rw-r--r--main/alpine-baselayout/alpine-baselayout.post-install4
2 files changed, 3 insertions, 3 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
index 805b2c316d..d416929a84 100644
--- a/main/alpine-baselayout/APKBUILD
+++ b/main/alpine-baselayout/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-baselayout
pkgver=2.3.1
-pkgrel=3
+pkgrel=4
pkgdesc="Alpine base dir structure and init scripts"
url="http://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout"
arch="all"
diff --git a/main/alpine-baselayout/alpine-baselayout.post-install b/main/alpine-baselayout/alpine-baselayout.post-install
index 1f675d1803..32b9bae171 100644
--- a/main/alpine-baselayout/alpine-baselayout.post-install
+++ b/main/alpine-baselayout/alpine-baselayout.post-install
@@ -33,7 +33,7 @@ if [ -x /sbin/rc ] && [ "$( /sbin/rc --sys )" = "VSERVER" ]; then
fi
# force /etc/shadow to be owned by root and not be world readable
-chown root:root /etc/shadow
-chmod o-rwx /etc/shadow
+chown root:shadow /etc/shadow
+chmod 640 /etc/shadow
exit 0