base-files: fix /tmp/.jail permissions
authorJohn Crispin <john@openwrt.org>
Fri, 24 Jul 2015 09:11:00 +0000 (09:11 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 24 Jul 2015 09:11:00 +0000 (09:11 +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>
SVN-Revision: 46466

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

index 6950130f999e7f51ea6997f85d2dd8aff177c422..a53be743e8872b67ad6d4fff64565ef34009dab8 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