diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-09-21 18:52:01 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-09-21 18:54:18 +0300 |
commit | ff9ee7f85b97717d0bd8fcfa2533f6a4846ca06f (patch) | |
tree | f4091c00cabd6a15a3f697de5b3af2fbdeb0d00d /main | |
parent | 1c1e2c23c012357a7f76fd7b885798bd1c2d2f09 (diff) | |
download | aports-ff9ee7f85b97717d0bd8fcfa2533f6a4846ca06f.tar.bz2 aports-ff9ee7f85b97717d0bd8fcfa2533f6a4846ca06f.tar.xz |
main/busybox-initscripts: make resolv.conf readable by all
resolv.conf may be created with too restrictive mode depending on umask
Diffstat (limited to 'main')
-rw-r--r-- | main/busybox-initscripts/APKBUILD | 4 | ||||
-rw-r--r-- | main/busybox-initscripts/default.script | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD index 47234b8010..033d428b3c 100644 --- a/main/busybox-initscripts/APKBUILD +++ b/main/busybox-initscripts/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=busybox-initscripts pkgver=3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Init scripts for busybox daemons" url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts" arch="noarch" @@ -76,4 +76,4 @@ ebd82f935da2ca89097234dd8a8f47e179a423652c151123a1f3343f3e1e7bfaba2b8800380e988d b2dcf0ded9264334d79fbbb05dd12d649dc3119a060db5893f0e8aeca2141323961c3ba4c822a0ffb00dba848742d5cb374dc77e776b57cecde352a3e8e30f8a usbdev 392c40d223bdff59a624bd67907c06cff9c1b5468c25c19e10dbc3cef3208275d93966e760f140d71a86cb36ec796ea08dbaa767b40c12e9326c3c72964b28a8 usbdisk_link 5db6fa8bbb2d891212187c598cd8703277b3fcb95b5dba6628f7128eb48cc7c1bf4c53885e9d870999c8c95d2fe9cd27609b523596dc553c31b6f72a452a0118 xvd_links -9c0cbe4f1a74afe95d16e601759b93488da279f5f9a0b17077fb505c92b87439a94022cdd380f226bc5a7212dc917215bac724061b8221486a403e3c0f5ba957 default.script" +e260283c154169b62e1ce975b0e1fd7708e3e7daf27afc9a9f6d121331eb7f1607a6b6babb29237bacd30668505930929fdae31db760828e1758269e08ad7223 default.script" diff --git a/main/busybox-initscripts/default.script b/main/busybox-initscripts/default.script index ff02cddfff..6363cc1b34 100644 --- a/main/busybox-initscripts/default.script +++ b/main/busybox-initscripts/default.script @@ -92,6 +92,7 @@ resolvconf() { for i in $dns; do echo "nameserver $i" >> "$RESOLV_CONF.$$" done + chmod a+r "$RESOLV_CONF.$$" mv "$RESOLV_CONF.$$" "$RESOLV_CONF" } |