CC: base-files: fix /tmp/.jail permissions
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Jul 2015 11:49:43 +0000 (11:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Jul 2015 11:49:43 +0000 (11:49 +0000)
We need a+x rights on the path to the root of the jails
so we can use users other than root (like nobody)

This partly fixes jailed dnsmasq

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Backport of r46466

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46510 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/init.d/boot

index 6950130..a53be74 100755 (executable)
@@ -29,7 +29,6 @@ boot() {
        mkdir -p /tmp/.uci
        chmod 0700 /tmp/.uci
        mkdir -p /tmp/.jail
-       chmod 0700 /tmp/.jail
        touch /var/log/wtmp
        touch /var/log/lastlog
        touch /tmp/resolv.conf.auto