diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-15 13:34:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-15 13:34:10 +0000 |
commit | 446419207997dc190e7ff4b39c959be60c93cd6d (patch) | |
tree | e190c64c1858bd932db6001acaf80840f0e51a75 /main/alpine-baselayout | |
parent | b973cd7a03e4653bfc031ad805a2594cd383b160 (diff) | |
download | aports-446419207997dc190e7ff4b39c959be60c93cd6d.tar.bz2 aports-446419207997dc190e7ff4b39c959be60c93cd6d.tar.xz |
main/alpine-baselayout: fix permissions of /etc/shadow
Diffstat (limited to 'main/alpine-baselayout')
-rw-r--r-- | main/alpine-baselayout/APKBUILD | 2 | ||||
-rw-r--r-- | main/alpine-baselayout/alpine-baselayout.post-install | 4 |
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 |