From: John Crispin <john@openwrt.org>
Date: Fri, 24 Jul 2015 09:11:00 +0000 (+0000)
Subject: base-files: fix /tmp/.jail permissions
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cf4a0d430b849f63d51d324c47411c77e62eb3d6;p=openwrt%2Fstaging%2Fansuel.git

base-files: fix /tmp/.jail permissions

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>

SVN-Revision: 46466
---

diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 6950130f99..a53be743e8 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -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