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

SVN-Revision: 46510

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